Redirect causes content collapse (empty state) instead of showing a loader #83881
Unanswered
GlebKodrik
asked this question in
App Router
Replies: 0 comments
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.
-
To Reproduce
Current vs. Expected behavior
Current Behavior
After triggering a redirect with redirect from next/navigation, the UI briefly collapses to an empty state before rendering the redirected content. This looks like a freeze or glitch. The issue happens both in development and after running a production build.
Expected Behavior
Instead of collapsing to an empty state, the app should keep showing a loader (or any fallback UI) until the redirected page is fully rendered. The transition should feel smooth without a "flash of nothing".
#83830
Beta Was this translation helpful? Give feedback.
All reactions