-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release v3.0.0: immutable.js support, small breaking changes in actio…
…n exports BREAKING CHANGE: redux-actions upgraded to 0.10.x, action types are now embedded into the action creators. This could potentially break your app if you relied on actions used by redux-connect in your own reducers. Please use action creators directly as action names as they are embedded inside them. Read more on the redux-actions repository. Feat: adds support for Immutable.JS, curtesy of @toddbluhm. Read more in the README updates Small outline: * Added ability to use immutable stores with this lib * Added global methods for converting from mutable to immutable and back again * Added special method for controlling when the ReduxAsyncConnect component re-syncs with the server * Simplify the reducer portion to just wrap the original reducer * Export the immutable reducer as a separate reducer * Updated docs to reflect new immutable reducer export
- Loading branch information
Showing
11 changed files
with
286 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"rules": { | ||
"import/no-extraneous-dependencies": 0, | ||
"react/prop-types": 0, | ||
"new-cap": 0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import AsyncConnect from '../components/AsyncConnect'; | ||
import { connect } from 'react-redux'; | ||
import { AsyncConnect } from '../components/AsyncConnect'; | ||
import { beginGlobalLoad, endGlobalLoad } from '../store'; | ||
|
||
export default connect(null, { beginGlobalLoad, endGlobalLoad })(AsyncConnect); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.