-
Notifications
You must be signed in to change notification settings - Fork 324
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
[BUG] RSC does not handle redirect #947
Comments
I have tried to implement this inside |
IIRC the answer here is to create a |
There's more info about this in #172
The mentioned implementation was removed from that PR but it's there as a reference. That said, I think we should explore first the approach Josh mentioned about returning an RSC response containing a custom |
Describe the bug
Using the
redirect.server.jsx
route in demo shop.you can see the page redirected on page load, but not when you click into it and the page is being loaded from RSC streaming.
before.mp4
Expected behaviour
That redirect from a server component will work in both SSR & RSC
Additional context
Add any other context about the problem here. eg.
The text was updated successfully, but these errors were encountered: