Why I Don't Use React Router
It&#x27;s great to someone express this point. Though it&#x27;s hard to beat the convenience of dropping someone else&#x27;s library into your codebase, each new dependency adds more security surface area and bloat to your application. I wish people considered this balance more carefully.<p>In general I think a littlw NIH is a good thing. Even if there exists a library that does what you want, it might also include much more that you don&#x27;t need, and perhaps the kernel of what you want fits into a small function you can write and vet yourself.