Correct a method param in Implementation Notes (#8252)
Shuhei Kagawa committed
Nov 10, 2016 at 15:19 UTC
fa4710fe5136e5feceed09b54c2ff49d012b8c15
1 file changed
+1
-1
docs/contributing/implementation-notes.md
+1
-1
@@ -576,7 +576,7 @@ class CompositeComponent {
576
// Component class
577
// Call the lifecycle if necessary
578
if (publicInstance.componentWillUpdate) {
579
- publicInstance.componentWillUpdate(prevProps);
579
+ publicInstance.componentWillUpdate(nextProps);
580
}
581
// Update the props
582
publicInstance.props = nextProps;