-
Is it possible to use reducer with storage? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Found useReducerAtom which solved this question. |
Beta Was this translation helpful? Give feedback.
-
Related discussions: #1304, #933 (and some more in Discord servers) |
Beta Was this translation helpful? Give feedback.
-
From the official docs: https://jotai.org/docs/guides/composing-atoms#extending-atoms-with-atomwith-utils |
Beta Was this translation helpful? Give feedback.
atomWithFoo
can't derive from different atoms.FYI: https://twitter.com/dai_shi/status/1550803662292779008
Related discussions: #1304, #933 (and some more in Discord servers)