Next.js Redirect (or router.push) Without Flashing Content #25262
Unanswered
theodorusclarence
asked this question in
Show and tell
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.
-
Hey, I found a way to avoid flashing content when redirecting unauthorized users from a site without using server rendering & cookies.
Kindly check it out on https;//theodorusclarence.com/blog/nextjs-redirect-no-flashing
or on dev.to
Problem
Red text is still flashing
Solution
No flashing 🥳
Beta Was this translation helpful? Give feedback.
All reactions