v2.0.0
Breaking changes
- drop support for treewalker and older versions of react with no hooks support
- subscribers now use hooks internally, so while testing actions you might need to wrap the calls in
act()
to avoid React warnings
Improvement
- 25% smaller bundle size
- Fixed TypeScript types for
defaultRegistry
- Better memo for selectors to reduce unnecessary re-renders