Background: remix-routes package codegens you a typesafe method $path that you can use for typesafe routing. In addition to this you can give your route typesafe search params by exporting a SearchParams type.
A couple of awesome things this could enable:
- trigger a route:build script directly from the SearchParams object in the route file.
- Add the the search params type to the list of options to generate for the route.