type-safe server-side redirect in typedRoutes
#49393
Unanswered
JoseVSeb
asked this question in
App Router
Replies: 2 comments
-
Bump. Should this be made an issue so it is tracked? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think this should be an issue as this is still not typed |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Experimental feature
typedRoutes
currently gives type-safety only to client-side navigation likeuseRouter
andLink
. Extend the same to server-side redirects as well. likeredirect
fromnext/navigation
andNextResponse.redirect(...)
.Beta Was this translation helpful? Give feedback.
All reactions