-
-
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
#182 SSR data is shared #375
Conversation
… into createZustand() function, but keep defaults
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 3d882e3:
|
Pending work & questions:
I will try to add example to next.js canary repo after we release this. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some early feedbacks.
I think just adding a link is fine, assuming we update the example in the nextjs repo. |
@dai-shi Ah, sorry.. I didn't push my changes properly last time (some last minute force push removed my new changes). Can you check again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall it looks good! Added some comments.
that accepts useStore func/object from create(). This is needed as store access is needed for merging/memoizing, in next.js integration
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Nice work.
No description provided.