Correct a method param in Implementation Notes (#8252)

This commit is contained in:
Shuhei Kagawa
2016-11-10 15:19:27 +01:00
committed by Dan Abramov
parent 3e708497d2
commit fa4710fe51
+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;