Skip to content

Shows more helpful error when connect() is passed invalid args. #554

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 28, 2016
Merged

Shows more helpful error when connect() is passed invalid args. #554

merged 1 commit into from
Nov 28, 2016

Conversation

jimbolla
Copy link
Contributor

Instead of posting initMapStateToProps is not a function exception, show something more helpful like: Invalid value of type string for mapStateToProps argument when connecting component AwesomeForm.

@timdorr
Copy link
Member

timdorr commented Nov 28, 2016

Good stuff!

@timdorr timdorr merged commit 582b17f into reduxjs:next Nov 28, 2016
@jimbolla jimbolla deleted the helpful-error branch November 29, 2016 14:53
albertodev7 pushed a commit to albertodev7/react-redux that referenced this pull request Dec 8, 2022
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