What is React Queue Router?
React Queue Router is an animation friendly router for React.
The interface is similar to React Router
but you can be more flexible about transition animation.
See the document: https://tokky0425.github.io/react-queue-router/
Installation
$ npm install --save react-queue-router
Basic usage
Let's assume you have 3 pages (Top, About and 404) on your web site.
App.jsx
const App = { return <QueueRouter> <Switch> <Route path='/' component=Top/> <Route path='/about' component=About/> <Route component=NotFound/> </Switch> </QueueRouter> } ReactDOM
Top.jsx
const Top = { return <h1>Hello React Queue Router!</h1>}
About.jsx
const About = { return <h1>Hello About page!</h1>}
NotFound.jsx
const NotFound = { return <h1>404 Page Not Found</h1>}
For adding transition animation, see Usage of document: https://tokky0425.github.io/react-queue-router/usage/
License
This project is licensed under the MIT License - See the LICENSE file for details.