Next.js Discord

Discord Forum

A clarification about Jotai

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
Is useHydrateAtoms supposed to be used in a client component that fetches async data?
What's the difference from just doing useAtom on the async request and setting the data with its setter? Is it better for synchronization of state changes?

0 Replies