Skip to content

Conversation

jhollingworth
Copy link
Contributor

If you pass in more than one argument to mapStateToProps and mapDispatchToProps then we assume you are passing in props and so pass it in. Whenever the component receives new props we will re-invoke the function.

Fixes #52

@jhollingworth
Copy link
Contributor Author

@gaearon

@gaearon
Copy link
Contributor

gaearon commented Aug 17, 2015

Good stuff. I'll merge today. ❤️

gaearon added a commit that referenced this pull request Aug 17, 2015
Add ownProps to mapStateToProps and mapDispatchToProps as second parameter
@gaearon gaearon merged commit 555ec8b into master Aug 17, 2015
@gaearon gaearon deleted the pass-in-props branch August 17, 2015 14:55
@gaearon
Copy link
Contributor

gaearon commented Aug 17, 2015

Released as 0.9.0, please verify.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants