Update react-redux to version 4.0.0 🚀 #5
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello 👋
🚀🚀🚀
react-redux just published its new version 4.0.0, which is not covered by your current version range.
If this pull request passes your tests you can publish your software with the latest version of react-redux – otherwise use this branch to work on adaptions and fixes.
Happy fixing and merging 🌴
GitHub Release
Breaking Changes
React 0.14 is now required and a peer dependency
If you need 0.13 support, keep using 3.x. In addition, React has now been promoted to be a peer dependency because you’ll use the same
react
package for web and native.react-redux/native
entry point has been removedTrack this React Native issue and wait until RN works on top of React 0.14. Then React Redux 4.x should “just work” in React Native. Until then, you need to keep using 3.x with React Native.
<Provider>
no longer accepts a function childThis resolves a ton of router-related issues and also helps beginners understand what's going on.
Before
After
Refs are now opt-in
connect()
no longer provides a ref to the wrapped component by default. You need to specifywithRef: true
in theoptions
as the fourth argument toconnect()
to get the old behavior.getWrappedInstance()
will throw unless you do that.This fixes #141.
Before
After
The new version differs by 23 commits .
fdbc579
4.0.0
084cedb
Merge pull request #71 from rackt/drop-react-0.13-support
11dee1f
Update the docs for React 0.14
2d3d0be
Make refs opt-in. Fixes #141
c54ffd9
Drop support for React 0.13
69de34f
Merge pull request #153 from epeli/warnfix2
84f1372
Fix React.findDOMNode warning
3f90174
Merge pull request #147 from standup75/master
0518631
Changed mapStateToProp to mapDispatchToProps in API docs
f9dfe46
3.1.0
f7c9ac1
Style tweaks
441c359
Merge pull request #135 from mattydoincode/master
ef14a40
Fixes CI
e2c7746
Merge pull request #134 from djkirby/patch-1
251043d
:memo: Fix typo in docs
There are 23 commits in total. See the full diff.
This pull request was created by greenkeeper.io.
Tired of seeing this sponsor message? Upgrade to the supporter plan! You'll also get your pull requests faster ⚡It keeps your software, up to date, all the time.