Last active
December 21, 2019 17:30
-
-
Save cpv123/235e68c989422b6ecbeed5f6eaacfed3 to your computer and use it in GitHub Desktop.
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
const myReduxStore = Immutable.fromJS({ | |
myNumbers: [1, 2, 3] | |
}) | |
const mapStateToProps = state => ({ | |
numbers: state.myNumbers.toJS() | |
}) | |
export default connect(mapStateToProps)(NumbersComponent) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment