Enhancements and changes
- Upgraded to React 16.8, React Router 5, Babel 7, Webpack 4
- Hooks
- Optimistic delete example
- Middleware coverage
- Async/await coverage
- Using json-server instead of homemade mock API
- Centralized API proxy and utils
- Immer coverage
- Webpack-bundle-analyzer
- Coverage on Object form of mapDispatchToProps
- Switch from Object.assign to object spread throughout
- Switch from Mocha to Jest (which streamlined test setup)
- Switch to react-toastify for notifications
- Tests use fetch-mock to hit a real API
- Add html-webpack-plugin
- Enhanced loading state handling
- Added coverage for react-testing-library
- Add example of component factory pattern in tests
- Created centralized mock data for use in mock APIs and tests
- Use VS Code
- Use Prettier
- Added realistic, layered error handling
- Streamlined npm scripts
- Replaced Express with WebpackDevServer
- Simplified ESLint config
- Added Redux dev tool coverage
- Added a 404 page
- Moved Babel and ESLint configs to package.json to avoid hidden file problems
- Eliminated babel-node for speed - Node has sufficient ES6 support as of Node 6
- Switched to class properties for binding and state in classes