(current, workInProgress)
| 9796 | } |
| 9797 | |
| 9798 | function updateMode(current, workInProgress) { |
| 9799 | var nextChildren = workInProgress.pendingProps.children; |
| 9800 | if (hasLegacyContextChanged()) { |
| 9801 | // Normally we can bail out on props equality but if context has changed |
| 9802 | // we don't do the bailout and we have to reuse existing props instead. |
| 9803 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 9804 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 9805 | } |
| 9806 | reconcileChildren(current, workInProgress, nextChildren); |
| 9807 | memoizeProps(workInProgress, nextChildren); |
| 9808 | return workInProgress.child; |
| 9809 | } |
| 9810 | |
| 9811 | function markRef(current, workInProgress) { |
| 9812 | var ref = workInProgress.ref; |
no test coverage detected