Dependent query and SSR Hydration causing hydration mismatch #3983
Unanswered
davidkhierl
asked this question in
Q&A
Replies: 1 comment 1 reply
-
why would it cause a hydration mismatch? even if the query is disabled on the client, if you use |
Beta Was this translation helpful? Give feedback.
1 reply
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.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm doing the ssr hydration approach in nextjs I have a query that requires an
id
.the id is available from the server side, so I can do the
on the page I have a dependent query, the
id
here is not available in server side because it is stored fromlocalStorage
and isundefined
while in serverthis will cause a nextjs hydration mismatch,
does anyone encounter this? and what are the possible fix
thank you!
Beta Was this translation helpful? Give feedback.
All reactions