Skip to content
Pre-release

@markerikson markerikson released this Apr 28, 2019 · 63 commits to master since this release

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)
Assets 2
You can’t perform that action at this time.