( workInProgress, instance, newProps, nextContext )
| 8630 | : !0; |
| 8631 | } |
| 8632 | function callComponentWillReceiveProps( |
| 8633 | workInProgress, |
| 8634 | instance, |
| 8635 | newProps, |
| 8636 | nextContext |
| 8637 | ) { |
| 8638 | workInProgress = instance.state; |
| 8639 | "function" === typeof instance.componentWillReceiveProps && |
| 8640 | instance.componentWillReceiveProps(newProps, nextContext); |
| 8641 | "function" === typeof instance.UNSAFE_componentWillReceiveProps && |
| 8642 | instance.UNSAFE_componentWillReceiveProps(newProps, nextContext); |
| 8643 | instance.state !== workInProgress && |
| 8644 | classComponentUpdater.enqueueReplaceState(instance, instance.state, null); |
| 8645 | } |
| 8646 | function resolveClassComponentProps(Component, baseProps) { |
| 8647 | var newProps = baseProps; |
| 8648 | if ("ref" in baseProps) { |
no test coverage detected
searching dependent graphs…