-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zustand/context: drop initialStore and add createStore #445
Comments
@Munawwar Are you around? |
@dai-shi I was away for a while. I have to recollect the next.js issues again. I will try this new solution on the next.js example |
Ok I managed to get next.js working with new interface. https://codesandbox.io/s/nextjs-with-zustand-354-forked-bryjr?file=/lib/store.js Though once again I thought |
Thanks for confirming. About naming, I thought about adding |
#402 (comment)
I think initialStore can easily be misused, and requires memoization on caller.
The text was updated successfully, but these errors were encountered: