yarn jotai 1.3.0
v1.3.0

latest releases: 2.10.2, 2.10.1, 2.10.0...
3 years ago

Summary

jotai

We fixed atom scope feature. useAtom now takes optional scope in the second argument and atom.scope is deprecated. As it falls back to the previous behavior, the core is not breaking. (However, other jotai/* has breaking changes in atom scope handling.)

jotai/utils

  • New experimental useHydrateAtoms hook to restore atom values in render.
  • Fixed performance related issues for waitForAll and useAtomCallback.

PRs

  • #633 fix(weakCache): Replace recursion with while loop to avoid too much recursion
  • #646 refactor(core): useMutableSource emulation without symbol and any
  • #640 breaking: useAtom scope instead of atom scope
  • #637 Feature: useHydrateAtoms
  • #644 fix(utils): improve useAtomCallback performance

Don't miss a new jotai release

NewReleases is sending notifications on new releases.