Zustand 4.5.0 state works differently in renderToStaticMarkup #2314
Unanswered
AlecBlance
asked this question in
Bug report
Replies: 1 comment 2 replies
-
So, I assume you use Basically, we improved it for SSR. Hopefully, @TkDodo @dbritto-dev @charkour can help. My suggestion is to put |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Our app works well with the
4.4.7
. Since the new4.5.0
update came, it doesn't display the same data it used to have. I have attached a simple example to show how we use it. Is it because4.5.0
,serverState will be used by react on the first client render
? Are there alternative ways? Thank you!Beta Was this translation helpful? Give feedback.
All reactions