(current, workInProgress)
| 9940 | } |
| 9941 | |
| 9942 | function updateMode(current, workInProgress) { |
| 9943 | var nextChildren = workInProgress.pendingProps.children; |
| 9944 | if (hasLegacyContextChanged()) { |
| 9945 | // Normally we can bail out on props equality but if context has changed |
| 9946 | // we don't do the bailout and we have to reuse existing props instead. |
| 9947 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 9948 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 9949 | } |
| 9950 | reconcileChildren(current, workInProgress, nextChildren); |
| 9951 | memoizeProps(workInProgress, nextChildren); |
| 9952 | return workInProgress.child; |
| 9953 | } |
| 9954 | |
| 9955 | function markRef(current, workInProgress) { |
| 9956 | var ref = workInProgress.ref; |
no test coverage detected