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…