hello. I have a question about how to use jotai in server component, SSR environment in Next.js 13 and later versions. #3039
Unanswered
donggyu1998
asked this question in
Q&A
Replies: 2 comments
-
Maybe @akkadaska can help? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@donggyu1998 This should prevent the "Detected multiple Jotai instances." warning from appearing. |
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
-
hello. I'm new to jotai,
so I have a question if this is the right way to go about it, so I'm posting it in Questions, Answers.
Here's what I'm trying to do
I also checked what akkadaska posted, but I don't understand.
Using additional libraries : https://www.npmjs.com/package/jotai-ssr
The error text is OK & the ClientComponentTest log is called 2 times in the browser console
Is this the correct way to do it ?
Detected multiple Jotai instances. It may cause unexpected behavior with the default store. #2044
Beta Was this translation helpful? Give feedback.
All reactions