This repository has been archived by the owner on Jan 1, 2024. It is now read-only.
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
/docs
folder. Docs live only inREADME.md
.
SSR
- Added react-helmet SSR
chokidar
watcher closing, when it's unnecessary to continue watching- remove
chokidar
fromserver/i18n
. Import i18n locals directly in server-side code. <Root>
dispatchesAPPLICATION_INIT
only once. Fixreact-tree-walker
's side-effect with multipleAPPLICATION_INIT
dispatching.
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
/components
dir. Remove nested dirs from/components
. - updated
styled-components
for `: "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
(
Awral
is 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