This project adheres to Semantic Versioning.
- Fix second argument of
useUnstated
to skip update
- Compile to target
es2017
to support Microsoft Edge
- Performance improvement: Use a native JS
Set
forlisteners
useUnstated
now only accept a single container and return its instance instead of an array.useUnstated
accepts a callback method to skip update.useContainers
has been replaced byuseContainer
- Fix
types
field inpackage.json
Initial release 🚀
Differences with main unstated
:
- Export hooks
useContainers
anduseUnstated
- Support for react 16.8
- Rewrote to Typescript