(current, workInProgress)
| 9126 | } |
| 9127 | |
| 9128 | function updateMode(current, workInProgress) { |
| 9129 | var nextChildren = workInProgress.pendingProps.children; |
| 9130 | if (hasLegacyContextChanged()) { |
| 9131 | // Normally we can bail out on props equality but if context has changed |
| 9132 | // we don't do the bailout and we have to reuse existing props instead. |
| 9133 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 9134 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 9135 | } |
| 9136 | reconcileChildren(current, workInProgress, nextChildren); |
| 9137 | memoizeProps(workInProgress, nextChildren); |
| 9138 | return workInProgress.child; |
| 9139 | } |
| 9140 | |
| 9141 | function markRef(current, workInProgress) { |
| 9142 | var ref = workInProgress.ref; |
no test coverage detected