A tiny routing solution for modern React apps that relies on Hooks.
- Zero dependency, only 1.04KB gzipped vs 17KB React Router.
- A top-level <Router /> component is fully optional.
- Mimics React Router’s best practices, however the library isn’t a drop-in replacement.
- Out of the box only supports History API, customization is possible via a <Router /> component.
# NPM $ npm install wouter --save
Live Demo: View The Demo
Download Link: Download The Source Code
Official Website: https://github.com/molefrog/wouter