Skip to content
Discussion options

You must be logged in to vote

In v2, the recommendation is to use useHydrateAtoms which is more flexible. Maybe there's room for improvement in the migration guide.

As for API design, we try to avoid providing multiple ways (this applies not only to jotai but also to other state libs in pmndrs). So, creating a util on your end (or in a third-party library) is very expected.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by adaptive-shield-matrix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants