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
- @TobiasWalle made their first contribution in #1157
- @TwistedMinda made their first contribution in #1168
Full Changelog: v1.6.6...v1.6.7