Created
January 22, 2017 13:36
-
-
Save marg51/2b4076775770ceccfbe7a57931890170 to your computer and use it in GitHub Desktop.
medium — react-redux
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
function connect(mapStateToProps, mapDispatchToProps) { | |
// Target is a component, TodoList in our example | |
return Target => { | |
// do something with it | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment