-
-
Notifications
You must be signed in to change notification settings - Fork 10.4k
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
feat(router): add type safety to json
& redirect
functions
#9669
feat(router): add type safety to json
& redirect
functions
#9669
Conversation
|
bfb55a7
to
79c7a2c
Compare
I think we may want to close this and let #9854 handle all data-typings together? |
oh I see you have a separate PR for |
Doing some housecleaning to start 2023 so I'm going to lose these 2 PRs out until the proposal gets accepted and we can re-open or bring along the changes then 👍 |
Re-opening because @brophdawg11 started with remix-run/remix#5679 |
79c7a2c
to
0791787
Compare
Let's hold on this for a bit longer, we have some APIs coming in Remix v3 (which will come through RR) that may or may not make these typings obsolete :). But at the very least we should wait to make sure that anything we do for typings on these functions plays nicely with the upcoming v3 APIs |
Closing for now - will re-open if/when we want to add these 👍 |
This PR brings these functions in line with what we have in the Remix repo