redux-arena-router-router
High order components of react-router based on redux-arena-router
Install
npm install redux-arena-router --save
Example
A complete example is under /example
directory, including a lot of HOC. And add redux-devtools for state changing show.
Online example can be found here: Here
Quick Start
- Export ArenaScene high order component for ArenaRoute using.
;;;;; Component: PageA state saga actions
- Pass the ArenaScene high order component as ArenaRoute's children.
;;;; <BrowserRouter> <Switch> <ArenaRoute> <PageA /> </ArenaRoute> </Switch> </BrowserRouter>;