very-simple-rrouter
v0.1.3
Published
Minimalistic React.js Router
Downloads
5
Maintainers
Readme
Very Simple Router
Minimalistic React.js router.
installation
npm i very-simple-rrouter
usage
Add inside root of the react application and add routes:
<Router
routes={{
"/": <Home />,
"/about": <About />,
"/contact": <Contact />,
"/404": <NotFound />,
}}
/>