npm jotai 1.6.7
v1.6.7

latest releases: 2.16.0, 2.15.2, 2.15.1...
3 years ago

React 18 behaves slightly differently from React 17 and some people reported extra re-renders. While extra re-renders without commits are expected, we improved it with early bail out. Now, primitive atoms won't re-render with the same value. Derived atoms can still re-render without commits, but it's intentional.

What's Changed

  • fix(utils): atomWithObservable: fix ReferenceError with BehaviourSubject (#1156) by @TobiasWalle in #1157
  • fix(core): do not re-render if value is the same by @dai-shi in #1159

New Contributors

Full Changelog: v1.6.6...v1.6.7

Don't miss a new jotai release

NewReleases is sending notifications on new releases.