-
-
Notifications
You must be signed in to change notification settings - Fork 10.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type-safe href
#12697
Comments
New experimental release with |
So similar to my solution for react-router v6 over a year ago: https://github.com/fredericoo/react-router-typesafe?tab=readme-ov-file#typesafebrowserrouter-%EF%B8%8F-new |
Experimental (just types for |
href
Awesome! |
It's on our radar, but you can use nuqs if you want type-safe query params today in Remix/React Router |
Thanks for mentioning it @pcattori ! I think the question is relevant though. TanStack Router/Start has set the bar very high for type-safe routing, and we should look for ways to bring the same (or at least very close) levels of DX in other frameworks. nuqs has the serializer feature that generate URLs with type-safe search params, but integrating it with type-safe base pathnames would make it even more powerful. I'll try this proposal for react router and see what I can do on my end. |
🤖 Hello there, We just published version Thanks! |
Planning Notes
The text was updated successfully, but these errors were encountered: