Correct a method param in Implementation Notes (#8252)

(cherry picked from commit fa4710fe51)
This commit is contained in:
Shuhei Kagawa
2016-11-16 15:22:39 +00:00
committed by tomocchino
parent 5f55b8aaf7
commit 04f1fe7fbf
+1 -1
View File
@@ -576,7 +576,7 @@ class CompositeComponent {
// Component class
// Call the lifecycle if necessary
if (publicInstance.componentWillUpdate) {
publicInstance.componentWillUpdate(prevProps);
publicInstance.componentWillUpdate(nextProps);
}
// Update the props
publicInstance.props = nextProps;