Jotai v2's store API is framework-agnostic. The primary use case is for React, but the store can be used for other frameworks. One of the difficulties was handling promises, and there has been unstable_unwrap
util since Jotai v2.0.0. Now, it's considered stable and becomes unwrap
util (see docs for details).
What's Changed
- refactor(vanilla): simplify store impl by @dai-shi in #2029
- breaking: remove deperecated dev-only methods by @dai-shi in #2054
- feat(utils): stable unwrap by @dai-shi in #2055
- fix(vanilla): improve warning message for multiple instances by @dai-shi in #2061
Full Changelog: v2.2.3...v2.3.0