Skip to content
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

Fixed 'is undefined' error and prop checking in Counter example #2464

Merged
merged 1 commit into from
Jun 21, 2017

Conversation

krizzu
Copy link
Contributor

@krizzu krizzu commented Jun 21, 2017

Added method binding in constructor + prop checking.

@timdorr
Copy link
Member

timdorr commented Jun 21, 2017

Thanks!

@heracek
Copy link

heracek commented Jun 28, 2017

@krizzu Just out of curiosity, why is binding in constructor better?

@krizzu
Copy link
Contributor Author

krizzu commented Jun 28, 2017

It's not like it's better, but changed it because eslint was throwing 'undefined` errors.

@timdorr
Copy link
Member

timdorr commented Jun 28, 2017

This is actually caused by the upgrade to eslint 4.0 at the top level and CRA using the wrong version: facebook/create-react-app#2604 (comment).

I'll likely revert this once facebook/create-react-app#2644 lands.

@heracek
Copy link

heracek commented Jun 29, 2017

Ok, thanks!

seantcoyote pushed a commit to seantcoyote/redux that referenced this pull request Jan 14, 2018
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.

3 participants