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