0.1.2 • Published 5 years ago

router-handler v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
5 years ago

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.