All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Use a
<Head />
component to set document head data via react-helmet instead of writing it directly in<App />
using a separate JSON-like file. - Update dependencies.
- Production builds only load necessary code-split (ie css-modules) CSS files instead of all of them.
react-testing-library
replacesenzyme
enzyme
- The
<ServerDataProvider />
context provider wrapper accepts a prop calledvalue
instead ofserverCache
. Internally, it's context value is now just calleddata
vsdataCache
.
- Jest config no longer runs in a "node" environment
- Resolve CSS modules by looking for
.module.s?css
file extension
- Client-side webpack config for dev and prod combined into a factory function
- Upgraded
css-loader
to v3 and change webpack config options - Dependencies updated
- The correct route is now rendered on the server (I forgot to pass the URL to react router 🤦)
- CHANGELOG.md 😁
- Client-side data hydration setup using React context
- Sample todo application
- Sample API module for making HTTP requests
- Fetch data while rendering on the server from any component in the tree
- Ignore
node_modules
when watching files with chokidar during development - ESLint config now uses
eslint-config-react-app
- Jest config moved out of
package.json
tojest.config.js
- Dependencies updated to latest version
- README updates
redux
andreact-redux
were removed and replaced with React context