Jotai V2 Notes 04 — Nested Data Structure
Ways to manipulate inner properties for atoms created with nested object —  TLDR atom config can hold atom config(s) Jotai’s selectAtom splitAtom digs into atom with object and array respectively, but with mostly read-only functionality atomWithImmer withImmer useImmerAtom interacts with NON immer atoms to provide an immer version of write function, allowing writing directly at the inner object only, instead of copying from…
Jotai V2 Notes 04 — Nested Data Structure Ways to manipulate inner properties for atoms created with nested object —  TLDR atom config can hold atom config(s) Jotai’s selectAtom splitAtom digs into atom with object and array respectively, but with mostly read-only functionality atomWithImmer withImmer useImmerAtom interacts with NON immer atoms to provide an immer version of write function, allowing writing directly at the inner object only, instead of copying from… web-development
Jotai V2 Notes 04 — Nested Data Structure Ways manipulate inner property atom created nested object — TLDR atom config hold atom configs Jotai’s selectAtom splitAtom dig atom object array respectively mostly readonly functionality atomWithImmer withImmer useImmerAtom interacts NON immer atom provide immer version write function allowing writing directly inner object instead copying from… webdevelopment