v2.2.0
New features
- added
batch
API to easily batch multiplesetState
calls and actions. It is basically a re-export of React.unstable_batchedUpdates API.
Bug fixes
- sweet-state now fully works under React
StrictMode
, even while in dev mode. Now sweet-state is more compliant with the future React Concurrent