Using the notFound() function results in a flash effect #66593
Unanswered
christian-tchaikovsky
asked this question in
App Router
Replies: 2 comments
-
I can confirm encountering this, bumping this so this gets reviewed (; |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same issue |
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.
-
When calling
notFound()
using thenext-themes
library, a flash effect occurs (You can see how the light theme changes to a dark one after restarting the page)Exactly the same behavior appears when a hydration error occurs, but here is the expected result
Please tell me how normal is this behavior with
notFound()
? Has anyone encountered this? What is the reason for this behavior?Beta Was this translation helpful? Give feedback.
All reactions