4 ms·
Fwiw I recently started using wouter (https://github.com/molefrog/wouter https://github.com/molefrog/wouter) and it works great for me, I'm not sure why react-r
by peter_l_downs 2y ago
Fwiw I recently started using wouter (https://github.com/molefrog/wouter https://github.com/molefrog/wouter) and it works great for me, I'm not sure why react-router is so big and has so many other features. I took a look at it but didn't understand it and wouter seems to be working fine for my simple needs (go to different pages, link between them, parse params/)
- nsonha 2y agoI think what react-router tries to solve is esentialy navigating without re-rendering layout partials
- floydnoel 2y agoCool to see some alternatives around! I didn't like React Router's bloat either, and wrote my own. Besides having no dependencies, my router also focuses on making it easy to handle common SEO requirements like generating a sitemap or handling open graph tags. Routerino: https://github.com/nerds-with-keyboards/routerino https://github.com/nerds-with-keyboards/routerino