Project-template project. Bound technologies:
- React v15.2
- Server-Side rendering
- Reuse the DOMs on Client-Side
- React Router v4
- On both cilent and server
- Flux
- FlucContainer
- ReduceStore
- Webpack
- External CSS file with
extract-text-webpack-plugin
for fast HTML load - CSS Modules by
css-loader
- Shorten CSS className to reduce payload on
NODE_ENV=production
- Shorten CSS className to reduce payload on
-
webpack-dev-middleware
onexpress
for development use sass-loader
- External CSS file with
- Babel
- For development, only compile JSXs for debugging easiness
- For production, compile all for speed
https://react-ssr-css-modules-example.herokuapp.com/
ISC