Releases: udecode/jotai-x
Releases · udecode/jotai-x
jotai-x@1.2.4
jotai-x@1.2.3
jotai-x@1.2.2
jotai-x@1.2.1
jotai-x@1.2.0
jotai-x@1.1.0
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