20
Release v7.1.0 · reduxjs/react-redux · GitHub
source link: https://github.com/reduxjs/react-redux/releases/tag/v7.1.0
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
timdorr released this on Jun 11, 2019 · 144 commits to master since this release
Hooks!
After much discussion, we've decided these Hook things are probably going to stick around, so we might as well add some. Many thanks to @MrWolfZ, @josepot, @perrin4869, and @mpeyper for their contributions and to everyone else that offered feedback, ideas, and critiques as we built them out. Go open source!
Changes
- Add React Hooks (#1248 by @MrWolfZ)
- Add
deps
argument touseSelector
(#1251 by @MrWolfZ) - Use react-hooks-testing-library to test hooks (#1259 by @mpeyper)
- Remove
useRedux
(@markerikson) - Remove
useActions
(@markerikson) - Remove
deps
argument (#1272 by @josepot) - Replace
shallowEqual
with reference equality inuseSelector
(#1288 by @perrin4869) - Avoid unnecessary selector evaluations (#1273 by @josepot)
- Minor Hook testing improvements (#1294 by @MrWolfZ)
Assets
2
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK