( current, workInProgress, Component, nextProps, renderLanes )
| 9011 | return (workInProgress.child = current); |
| 9012 | } |
| 9013 | function updateSimpleMemoComponent( |
| 9014 | current, |
| 9015 | workInProgress, |
| 9016 | Component, |
| 9017 | nextProps, |
| 9018 | renderLanes |
| 9019 | ) { |
| 9020 | if (null !== current) { |
| 9021 | var prevProps = current.memoizedProps; |
| 9022 | if ( |
| 9023 | shallowEqual(prevProps, nextProps) && |
| 9024 | current.ref === workInProgress.ref |
| 9025 | ) |
| 9026 | if ( |
| 9027 | ((didReceiveUpdate = !1), |
| 9028 | (workInProgress.pendingProps = nextProps = prevProps), |
| 9029 | checkScheduledUpdateOrContext(current, renderLanes)) |
| 9030 | ) |
| 9031 | 0 !== (current.flags & 131072) && (didReceiveUpdate = !0); |
| 9032 | else |
| 9033 | return ( |
| 9034 | (workInProgress.lanes = current.lanes), |
| 9035 | bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) |
| 9036 | ); |
| 9037 | } |
| 9038 | return updateFunctionComponent( |
| 9039 | current, |
| 9040 | workInProgress, |
| 9041 | Component, |
| 9042 | nextProps, |
| 9043 | renderLanes |
| 9044 | ); |
| 9045 | } |
| 9046 | function updateOffscreenComponent(current, workInProgress, renderLanes) { |
| 9047 | var nextProps = workInProgress.pendingProps, |
| 9048 | nextChildren = nextProps.children, |
no test coverage detected
searching dependent graphs…