🎉 🎉 🎉 Jotai v2 is here! 🍾 🍾 🍾
Backward compatible for JS users without async atoms
Async atom behavior is revisited and changed. TypeScript types are changed and improved.
New Store API
Exposes createStore
which opens up new usages. With its power, it can be misused. Let's look for best practice. Feedback is appreciated.
Migration Guide
https://github.com/pmndrs/jotai/blob/v2.0.0/docs/guides/migrating-to-v2-api.mdx
What's Changed
- breaking: replace old api with v2 api by @dai-shi in #1671
- breaking(build): drop module condition in exports by @dai-shi in #1675
New Contributors
- @meotimdihia made their first contribution in #1701
- @megafinz made their first contribution in #1710
Full Changelog: v1.13.1...v2.0.0