redux-universal-app icon indicating copy to clipboard operation
redux-universal-app copied to clipboard

Isomorphic App Demo

Adapted from universal example from redux official examples

Demo app

  • [redux] (https://github.com/rackt/redux) v3.0.0
  • react v0.14.0
    • ECMA 6 Classes
  • react-router v2.0.0-rc5
    • declarative route config
    • asynchronous routes
  • redux-simple-router v2.0.2
  • [babel] (https://github.com/babel/babel) 5.8.x
  • [webpack] (https://github.com/webpack/webpack)

This shows routing on the client and the server with react-router. Navigation uses history pushes on the client but browser refresh will render the current page correctly on the server.

Usage

First install dependencies

npm install

And run development env

$ npm run dev

Open http://localhost:3000