Skip to content

lego-sharat/react-router-mini

 
 

Repository files navigation

react-router-mini

NPM

Connect your [React] components up to that address bar.

react-router-mini based on preact-router provides a <Router /> component that conditionally renders its children when the URL matches their path. It also automatically wires up <a /> elements to the router.

If you're looking for more complex solutions like nested routes and view composition, react-router


Usage Example

Still a WIP. Doesn't work.

About

🌎 URL router for react based on preact-router

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 95.0%
  • TypeScript 5.0%