Closed
Description
We already provide some examples about how to use Jotai with Next.js and SSR in general.
This issue looks to start a discussion if it's possible for Jotai for provide a better story for using Jotai in a SSR scenario - We believe we could start with Next.js.
I believe this would be mostly useful in the scenario, where you have async atoms, which fetch their state using e.g. fetch
.
This is mostly inspired Next.js story for react-query: https://react-query.tanstack.com/guides/ssr
Let me think what you think - Should we provide something, or should we just document how to with our current API for "hydration" of atoms.
Metadata
Metadata
Assignees
Labels
No labels