Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

v3.0.1

Latest
Compare
Choose a tag to compare
@Metnew Metnew released this 20 Feb 02:01
· 28 commits to master since this release

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 in README.md.

SSR

  • Added react-helmet SSR
  • chokidar watcher closing, when it's unnecessary to continue watching
  • remove chokidar from server/i18n. Import i18n locals directly in server-side code.
  • <Root> dispatches APPLICATION_INIT only once. Fix react-tree-walker's side-effect with multiple APPLICATION_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