Template React Ssr Versions Save

Server-side rendering template using express and react 16

3.1.0

5 years ago

Added

Changed

  • Update all packages to their latest version
  • Update babel to include polyfills based on usage
  • Restructure webpack configuration files to remove redundant code

Removed

  • Removed shrink-ray library, due to it needing node-gyp which caused many problems interfering with the ease-of-use of this template

3.0.0

5 years ago
  • Switched from EJS for templating to basic HTML using template string interpolation. This change allows for much more flexibility, i.e. with react-helmet and dynamically requiring content, such as styles.
  • Introduces PostCSS to enable autoprefixer, since support of older browser (looking at you IE) is still important.
  • Implement eslint and basic configuration.
  • Implements basic test engine using jest.
  • Improves production build by executing steps in parallel.

2.5.0

5 years ago
  • Switched to babel 7
  • Switched to nodemon for watch mode

2.4.0

5 years ago

2.3.0

5 years ago
  • Implements server-side compression via shrink-ray
    • Compression is only enabled in production mode
    • Thanks to @zackljackson for the hint on shrink-ray
  • Implements helmet for security-relevant response headers

2.2.1

5 years ago
  • Exclude the node_modules directory from babel-transpilation to avoid errors when using other libraries like material-ui

2.2.0

6 years ago

Thanks to @arkhamRejek for contributing the code-splitting feature as well as the babel-preset changes!

2.0.0

6 years ago
  • Upgraded to webpack 4
  • Upgraded to React 16.3
  • Removed extract-css-chunks plugin in favor of extract-text-webpack-plugin, since the former is not supported with webpack 4 anymore
  • Removes extract plugins for styles in development, to improve hot-reloading