Releases: udecode/jotai-x
Releases · udecode/jotai-x
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Minor Changes
- #2 by @12joan –
- Atoms other than
atom
can now be passed in theinitialState
argument tocreateAtomStore
. Primitive values useatom
by default - Added an
extend
option tocreateAtomStore
that lets you add derived atoms to the store - New accessors on
UseStoreApi
useMyStore().store()
returns theJotaiStore
for the current context, or undefined if no store existsuseMyStore().{get,set,use}.atom(someAtom)
accessessomeAtom
through the store
- Types: remove exports for some internal types
GetRecord
SetRecord
UseRecord
- Atoms other than