This improves useAtom types. We also refactored atomWithQuery
in jotai/query
(fixing a regression that has been there since v1.7.7) and atomWithObservable
in jotai/utils
.
What's Changed
- refactor(types): make Scope clearly internal by @dai-shi in #1411
- fix(query): create QueryObserver with initial options by @danielr18 in #1417
- refactor(utils): atomWithObservable by @dai-shi in #1426
- fix(types): overload useAtom* type for union atom type by @dai-shi in #1427
New Contributors
- @grabbou made their first contribution in #1407
- @danielr18 made their first contribution in #1417
Full Changelog: v1.8.3...v1.8.4