Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 817 Bytes

README.md

File metadata and controls

29 lines (20 loc) · 817 Bytes

fluxible w/ routing with react-router

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.

Install and run instructions

npm install
# run
npm run dev
# open http://localhost:3000

Test for Prod

npm run build
# dumps bundles into /assets
NODE_ENV=production node ./src/server
# runs index.js with prod env var

Experimenting with

@bobpace fork of react-router.

pull request to allow transition hooks access to a context object you can specify when you create the router

Also repo is a mess right now... working on it.