router-handler
v0.1.2
Published
React Routing Component for npm
Readme
What is this?
Implement the perfect routing for the beginner.
Installation
npm i routing-handler --save
Then...
...
import {HandleRoutes} from "HandleRoutes";
<Suspense fallback={Loading....}>
{
HandleRoutes(
authenticated,
ls.get('token'),
Main,
Auth,
privateRoutes,
authRoutes,
'/dashboard',
'/login')
}Uses
For Dynamically routing.
