Replies: 1 comment
|
We hit a concrete case of this in production (TanStack Start; a theme store synced from I've written up a repro (verified on React 18 and 19), the ecosystem precedent (react-redux TL;DR: |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
like set the store initial value on render.
quoting jotai
The primary use case for useHydrateAtoms are SSR apps like Next.js, where an initial value is e.g. fetched on the server, which can be passed to a component by props.
https://jotai.org/docs/utilities/ssr
All reactions