React router is the de-facto routing library for React.This repo consists of several examples that demonstrate what you can do with react router v4. The example covered include:
- Basic navigational routing
- Nested routing
- Nested routing with path parameters
- Protected routing
Each demo has its own directory and a package.json
file. Run the following command to install the node modules:
npm install
To serve the demo on a browser, run
npm start