(current, workInProgress)
| 9035 | } |
| 9036 | |
| 9037 | function updateMode(current, workInProgress) { |
| 9038 | var nextChildren = workInProgress.pendingProps.children; |
| 9039 | if (hasLegacyContextChanged()) { |
| 9040 | // Normally we can bail out on props equality but if context has changed |
| 9041 | // we don't do the bailout and we have to reuse existing props instead. |
| 9042 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 9043 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 9044 | } |
| 9045 | reconcileChildren(current, workInProgress, nextChildren); |
| 9046 | memoizeProps(workInProgress, nextChildren); |
| 9047 | return workInProgress.child; |
| 9048 | } |
| 9049 | |
| 9050 | function markRef(current, workInProgress) { |
| 9051 | var ref = workInProgress.ref; |
no test coverage detected