Skip to content

Latest commit

 

History

History
 
 

react-router

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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.

Usage

Make sure you run npm install from the root of flux-examples. Then change directories to routing (cd routing) and run:

$ npm run dev

This will use nodemon and webpack to watch for changes and restart and rebuild as needed.

Open http://localhost:3000