GitXplorerGitXplorer
p

react-server-side-rendering-with-css-modules

public
10 stars
1 forks
1 issues

Commits

List of commits on branch master.
Unverified
48529caee41555fdaf18583de53e68c0ea5d596f

it works

ppiglovesyou committed 8 years ago
Unverified
e312c08befea67da277dad9806ced45f4c1139e3

first

ppiglovesyou committed 8 years ago

README

The README file for this repository.

React Server Side Rendering with CSS Modules Example Build Status

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
    • webpack-dev-middleware on express for development use
    • sass-loader
  • Babel
    • For development, only compile JSXs for debugging easiness
    • For production, compile all for speed

Demo

https://react-ssr-css-modules-example.herokuapp.com/

License

ISC