Route user to a new url from a server component #71987
-
|
Is nextNavigation.redirect() the only API for this? Is there any other way to navigate a user to a new page, via server components only, without throwing an error? |
Beta Was this translation helpful? Give feedback.
Answered by
icyJoseph
Oct 28, 2024
Replies: 2 comments
-
|
For now yeah... unless you want to introduce middleware for the route segment (using a matcher), but that's not always an option I gues.s |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
JoeRoddy
-
|
Thanks! |
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
For now yeah... unless you want to introduce middleware for the route segment (using a matcher), but that's not always an option I gues.s