Hydration not starting until user attempts to interact with the page #65894
Unanswered
gensc004
asked this question in
App Router
Replies: 1 comment
-
I think this is a very common question. After hydration failure, why can the page continue to render after user interaction? Why hasn't anyone told us why? |
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.
-
Hello there NextJS Community! My team and I are experiencing some intermittent/inconsistent behavior with hydrating our client components in the browser on load, and I have been unsuccessful figuring out what could be causing it.
Setup Overview
Problem
Locally, and for some users all the time, the static content renders, the browser hydrates the content instantly, and all is good. Randomly (it seems), and for some users all the time on Prod, the static content renders, and the browser does NOT hydrate. This leaves the page in its loading state with skeletons forever until a user clicks anywhere on the page. That interaction seems to kick off the hydration, and the page renders correctly.
Any ideas on what might be happening, or how we could go about fixing this?
Beta Was this translation helpful? Give feedback.
All reactions