(current, workInProgress)
| 9837 | } |
| 9838 | |
| 9839 | function updateMode(current, workInProgress) { |
| 9840 | var nextChildren = workInProgress.pendingProps.children; |
| 9841 | if (hasLegacyContextChanged()) { |
| 9842 | // Normally we can bail out on props equality but if context has changed |
| 9843 | // we don't do the bailout and we have to reuse existing props instead. |
| 9844 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 9845 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 9846 | } |
| 9847 | reconcileChildren(current, workInProgress, nextChildren); |
| 9848 | memoizeProps(workInProgress, nextChildren); |
| 9849 | return workInProgress.child; |
| 9850 | } |
| 9851 | |
| 9852 | function markRef(current, workInProgress) { |
| 9853 | var ref = workInProgress.ref; |
no test coverage detected