Replies: 1 comment 29 replies
-
User A visits your page. Your page is executed in SSR, a global store variable is created. Relevant knowledge: In Next.js, every client components will automatically SSR for the first render of a user session. |
Beta Was this translation helpful? Give feedback.
29 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
"No global stores - Because the Redux store is shared across requests, it should not be defined as a global variable. Instead, the store should be created per request."
I came across this while reading the document, can you give an example for this scenario to occur? I did not fully understand what is meant by saying that the global store data may be contaminated.
and what problems can sharing your wishes cause?
Beta Was this translation helpful? Give feedback.
All reactions