0.0.8 • Published 1 year ago

router-connect v0.0.8

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

router-connect

router-connect is a alternative to react-route-dom but it isn't a replace to react-route-dom

install

npm install router-connect or pnpm add router-connect

add Routes

We can add our routes nex way

addroute

or classic way

addClassic Way

guard

router-connect you can add your project routes with parameter guard that it receive a function should return a value boolena

guard

404 page

router-connect has a 404 page by default, but you can change that page with th propriety NotFound from ProviderRoutes

not found

Link component

we can use the Link component for change of routes or pages

link

Navigation

this function help us to do the navigation bewteen routes

navigation

not use the buttom element for to do the navigation

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago