Skip to content

Releases: udecode/jotai-x

jotai-x@1.2.4

10 Jul 12:09
c1878a3
Compare
Choose a tag to compare

Patch Changes

jotai-x@1.2.3

15 Apr 11:55
c812291
Compare
Choose a tag to compare

Patch Changes

  • #11 by @12joan – Do not render jotai's Provider component as part of jotai-x's provider. Jotai's Provider is unnecessary and interferes with vanilla jotai atoms.

  • #13 by @zbeyens – use client in createAtomProvider

jotai-x@1.2.2

14 Feb 19:02
5b179fe
Compare
Choose a tag to compare

Patch Changes

jotai-x@1.2.1

05 Jan 12:26
3bf6f26
Compare
Choose a tag to compare

Patch Changes

  • #6 by @12joan – Fix: Provider prop types expect atoms instead of values for stores created with custom atoms

jotai-x@1.2.0

03 Jan 13:59
c4724a4
Compare
Choose a tag to compare

Minor Changes

  • #4 by @12joan – Add warnIfNoStore option to UseAtomOptions

jotai-x@1.1.0

22 Dec 14:32
da92041
Compare
Choose a tag to compare

Minor Changes

  • #2 by @12joan
    • Atoms other than atom can now be passed in the initialState argument to createAtomStore. Primitive values use atom by default
    • Added an extend option to createAtomStore that lets you add derived atoms to the store
    • New accessors on UseStoreApi
      • useMyStore().store() returns the JotaiStore for the current context, or undefined if no store exists
      • useMyStore().{get,set,use}.atom(someAtom) accesses someAtom through the store
    • Types: remove exports for some internal types
      • GetRecord
      • SetRecord
      • UseRecord

jotai-x@1.0.1

10 Dec 16:38
793cd85
Compare
Choose a tag to compare

Patch Changes