Jotai V2 Notes 01 — Basics
atom() useAtom() —  TLDR Create atom config with atom() function Consume atom config in components with useAtom, useAtomValue, useSetAtom for read-write, readonly, and write only usage respectively. The initial value is stored in the store of the Provider (explained in next post) when the hook is called the first time. wrap atom() with useMemo…
Jotai V2 Notes 01 — Basics atom() useAtom() —  TLDR Create atom config with atom() function Consume atom config in components with useAtom, useAtomValue, useSetAtom for read-write, readonly, and write only usage respectively. The initial value is stored in the store of the Provider (explained in next post) when the hook is called the first time. wrap atom() with useMemo… web-development
Jotai V2 Notes 01 — Basics atom useAtom — TLDR Create atom config atom function Consume atom config component useAtom useAtomValue useSetAtom readwrite readonly write usage respectively initial value stored store Provider explained next post hook called first time wrap atom useMemo… webdevelopment