(current, workInProgress)
| 10053 | } |
| 10054 | |
| 10055 | function updateMode(current, workInProgress) { |
| 10056 | var nextChildren = workInProgress.pendingProps.children; |
| 10057 | if (hasLegacyContextChanged()) { |
| 10058 | // Normally we can bail out on props equality but if context has changed |
| 10059 | // we don't do the bailout and we have to reuse existing props instead. |
| 10060 | } else if (nextChildren === null || workInProgress.memoizedProps === nextChildren) { |
| 10061 | return bailoutOnAlreadyFinishedWork(current, workInProgress); |
| 10062 | } |
| 10063 | reconcileChildren(current, workInProgress, nextChildren); |
| 10064 | memoizeProps(workInProgress, nextChildren); |
| 10065 | return workInProgress.child; |
| 10066 | } |
| 10067 | |
| 10068 | function markRef(current, workInProgress) { |
| 10069 | var ref = workInProgress.ref; |
no test coverage detected