Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.2 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.2 KB

Client Side Router Demos

There is a gist here with a bit of info and extra reading on some of the routers we looked at.

Setup

git clone
cd client-router-demos
yarn install

Make it Go!

Since this is using create-react-app and I didn't want to bother ejecting and configuring, I had to get clever to run each version of the app wince there isn't a way to define a unique entry point. It's better if you don't ask questions.
This is just for us, so why not some shenanigans?

To run the app with the various routers you can use these:

# Run the app without a router. It will basically only show the characters page regardless of the url.
yarn start

# Run the app with `redux-little-router`
yarn start-rlr

# Run the app with `redux-first-router`
yarn start-rfr

# Run the app with `router5`
# (not yet) yarn start-r5