Why? Why would anyone want to load an other library and add more bloat to their project for something as simple as routing. I don’t understand the need for the added type safety. If you want your routes to be type safe then simply enclose react router in a hook and attach and enumeration of all possible routes.