(current, workInProgress)
| 9895 | } |
| 9896 | |
| 9897 | function updateMode(current, workInProgress) { |
| 9898 | var nextChildren = workInProgress.pendingProps.children; |
| 9899 | if (hasLegacyContextChanged()) { |
| 9900 | // Normally we can bail out on props equality but if context has changed |
| 9901 | // we don't do the bailout and we have to reuse existing props instead. |
| 9902 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 9903 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 9904 | } |
| 9905 | reconcileChildren(current, workInProgress, nextChildren); |
| 9906 | memoizeProps(workInProgress, nextChildren); |
| 9907 | return workInProgress.child; |
| 9908 | } |
| 9909 | |
| 9910 | function markRef(current, workInProgress) { |
| 9911 | var ref = workInProgress.ref; |
no test coverage detected