Skip to content

v2.0.0

Compare
Choose a tag to compare
@albertogasparin albertogasparin released this 11 Feb 23:24

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