github pmndrs/jotai v1.0.1

latest releases: v2.10.1, v2.10.0, v2.9.3...
3 years ago

Summary

jotai

  • Added experimental unstable_promise option in get in atom write

jotai/utils

  • Fixed dual render issue with atomWithStorage and improved it with subscribe option
  • Improved atomWithDefault with "REFRESH" capability
  • Fixed a bug in splitAtom in edge use cases

PRs

  • #532 refactor(devtools): remove unused code
  • #526 fix(query): refactor atomWithQuery to avoid possible memory leaks
  • #543 fix(core): disable useDebugState in test env
  • #541 fix(utils/splitAtom): add a DEV warning on wrong atom configs
  • #539 fix(core): add experimental promise option for write getter
  • #537 fix(utils/atomWithDefault): support refresh
  • #540 fix(utils): improve atomWithStorage covering atomWithHash
  • #547 fix(query): queryClientAtom for initialValues

Don't miss a new jotai release

NewReleases is sending notifications on new releases.