|
@ -576,7 +576,7 @@ class CompositeComponent { |
|
|
// Component class |
|
|
// Component class |
|
|
// Call the lifecycle if necessary |
|
|
// Call the lifecycle if necessary |
|
|
if (publicInstance.componentWillUpdate) { |
|
|
if (publicInstance.componentWillUpdate) { |
|
|
publicInstance.componentWillUpdate(prevProps); |
|
|
publicInstance.componentWillUpdate(nextProps); |
|
|
} |
|
|
} |
|
|
// Update the props |
|
|
// Update the props |
|
|
publicInstance.props = nextProps; |
|
|
publicInstance.props = nextProps; |
|
|