Next.js SSR Key problem #2454
Unanswered
clickersmudge
asked this question in
Q&A
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.
-
Hi,
I have a problem with SSR and key using GraphQL.
Code
In scenario 1:
The page renders correctly on the server and client side, but there is an error "TypeError: document.definitions is undefined" in the console.
In scenario 2, the error in the console is not present. The page renders on the server side, displays and after 10 seconds it disappears.
I do not know , which scenario is correct and which way to lean with the error.
Beta Was this translation helpful? Give feedback.
All reactions