Skip to content
Compare
Choose a tag to compare

v7.1.0-alpha.3

Pre-release
Pre-release
@markerikson markerikson released this
· 322 commits to master since this release
Compare
Choose a tag to compare

After discussion in the hooks alpha feedback issue, we've decided to remove the useRedux() hook, as it doesn't really bring any benefits. If you were using it in your own code, replace the useRedux() call with separate calls to useSelector() and useActions().

This release also includes the timing bugfix from #1263.

Also, while you won't notice it, @mpeyper was able to simplify our hooks unit tests using react-hooks-testing-library.

Changes

  • Remove useRedux hook 8c0750c
  • fix timing issue in component updates due to consecutive dispatches (#1263 by @MrWolfZ)
  • Use react-hooks-testing-library to test hooks (#1259 by @mpeyper)