Skip to content

Correct a method param in Implementation Notes#8252

Merged
gaearon merged 1 commit intofacebook:masterfrom
shuhei:fix-param-in-doc
Nov 10, 2016
Merged

Correct a method param in Implementation Notes#8252
gaearon merged 1 commit intofacebook:masterfrom
shuhei:fix-param-in-doc

Conversation

@shuhei
Copy link
Copy Markdown
Contributor

@shuhei shuhei commented Nov 9, 2016

This is a tiny fix on Implementation Notes.

According to React.Component in the reference, componentWillUpdate(nextProps, nextState) is the correct signature. Because the guide hasn't referred to state at the point, componentWillUpdate(nextProps) would be correct here.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours has expired.

Before we can review or merge your code, we need you to email cla@fb.com with your details so we can update your status.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@gaearon
Copy link
Copy Markdown
Collaborator

gaearon commented Nov 10, 2016

Thanks.

@gaearon gaearon merged commit fa4710f into facebook:master Nov 10, 2016
@shuhei
Copy link
Copy Markdown
Contributor Author

shuhei commented Nov 10, 2016

Thanks for merging!

@shuhei shuhei deleted the fix-param-in-doc branch November 10, 2016 14:49
tomocchino pushed a commit that referenced this pull request Nov 16, 2016
acusti pushed a commit to brandcast/react that referenced this pull request Mar 15, 2017
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.

4 participants