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

Clarify purpose of state property in ES6 classes #7109

Merged
merged 1 commit into from
Jun 23, 2016

Conversation

aweary
Copy link
Contributor

@aweary aweary commented Jun 23, 2016

Resolves #7108

@zpao how does this look? I figured clarifying that the this.state assignment was just like the return value of getInitialState would be sufficient since no one assumes getInitialState is mutative

@zpao
Copy link
Member

zpao commented Jun 23, 2016

Looks great. Thanks!

@zpao zpao merged commit 60760eb into facebook:master Jun 23, 2016
@aweary aweary deleted the es6-state-explained branch June 23, 2016 20:13
zpao pushed a commit that referenced this pull request Jun 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants