-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
[test] add spec with ssr #903
Comments
I would like to give it a try. I might need some time to complete it. Can I pick this? |
sure thing! |
Hi, because more than a year has passed since last activity, I will give it a try and make a PR |
This is to write a demo, such as using zustand in next13? |
This is about adding a new test in https://github.com/pmndrs/zustand/tree/main/tests. |
@dai-shi I would like to adding a test for this issue. |
…n React 18 using Zustand (pmndrs#903)
…n React 18 using Zustand (pmndrs#903)
…n React 18 using Zustand (pmndrs#903)
…n React 18 using Zustand (#903) (#2088) * test(ssr): Validate state synchronization between server and client in React 18 using Zustand (#903) * test(ssr): dynamically import hydrateRoot for React 18 and skip if version < 18 * test(ssr): implement conditional describe based on React version * test(ssr): Refactor SSR code using skipIf and importActual * test(ssr): Refactor code using 'importActual' with a more specific type for 'hydrateRoot' * test(ssr): remove async from the main test function --------- Co-authored-by: Daishi Kato <dai-shi@users.noreply.github.com>
#886 was reported and fixed, but we don't have a test for it.
reduxjs/react-redux#1888 can be a good reference.
The text was updated successfully, but these errors were encountered: