Browse Source

Correct a method param in Implementation Notes (#8252)

main
Shuhei Kagawa 8 years ago
committed by Dan Abramov
parent
commit
b1eabd709f
  1. 2
      contributing/implementation-notes.md

2
contributing/implementation-notes.md

@ -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;

Loading…
Cancel
Save