RFC: type safe search params defined in `routes.ts` · remix-run/react-router · Discussion #13800
Initial Idea Define an optional searchParams schema inside each route() entry. Keys merge into the existing params object, giving type-safety to both href() and component props. Example export defa...
GitHub