v3.0.1
Global updates
- Removed all custom utils, solutions, all possibly unnecessary for users libs
- The project was transformed from "example-like" to more" boilerplate-oriented."
- Removed
/docsfolder. Docs live only inREADME.md.
SSR
- Added react-helmet SSR
chokidarwatcher closing, when it's unnecessary to continue watching- remove
chokidarfromserver/i18n. Import i18n locals directly in server-side code. <Root>dispatchesAPPLICATION_INITonly once. Fixreact-tree-walker's side-effect with multipleAPPLICATION_INITdispatching.
Auth
Removed anything related to auth:
- server API endpoint
- redux auth actions and reducer
- client API requests
- allowed routes handling
Webpack
- Improved webpack "universality" (dev mode). 2 ports, 2 dev servers (like in Razzle)
- Added
copy-webpack-plugin - Added
webpack-node-externals - Removed
favicons-webpack-plugin. It's a great, but unmaintained plugin. - more ENV vars:
INSPECT_ENABLED,HOST
React
- moved all components to
/componentsdir. Remove nested dirs from/components. - updated
styled-componentsfor `: "CSS classes over new styled components".
Redux
- Improved layout reducer: "if
<Sidebar>is opened according to the state; then it should be opened for a user.". The previous reducer didn't follow this logic as required. - Added promise-middleware, instead of custom solutions
(
Awralis deprecated. "Composition over configuration.")
Summary
The project's Webpack config now is slightly close to Razzle's config. Next step - full integration with Razzle. But currently, it's not possible. Razzle doesn't have a good plugin system to accomplish that, and Razzle still isn't stable enough. Next.js integration seems more likely.
Other features/bugs in CHANGELOG.md