#This is a easy sample of routing
for React App with protected pages
This app show the way to organize routes for app with open and protected routes
I guess, the best way is using Middleware, but for the begining this is not bad ddecision.
Using react route V4
requirements
node --version
v6.9.1
npm --version
3.10.8
using
git clone git@github.com:antonioiksi/react-router-v4-sample.git
npm install
npm start
Useful links: