(current,workInProgress)
| 7451 | } while (child = child.sibling); |
| 7452 | } |
| 7453 | */function bailoutOnAlreadyFinishedWork(current,workInProgress){{cancelWorkTimer(workInProgress);}// TODO: We should ideally be able to bail out early if the children have no |
| 7454 | // more work to do. However, since we don't have a separation of this |
| 7455 | // Fiber's priority and its children yet - we don't know without doing lots |
| 7456 | // of the same work we do anyway. Once we have that separation we can just |
| 7457 | // bail out here if the children has no more work at this priority level. |
| 7458 | // if (workInProgress.priorityOfChildren <= priorityLevel) { |
| 7459 | // // If there are side-effects in these children that have not yet been |
| 7460 | // // committed we need to ensure that they get properly transferred up. |
| 7461 | // if (current && current.child !== workInProgress.child) { |
| 7462 | // reuseChildrenEffects(workInProgress, child); |
| 7463 | // } |
| 7464 | // return null; |
| 7465 | // } |
| 7466 | cloneChildFibers(current,workInProgress);return workInProgress.child;}function bailoutOnLowPriority(current,workInProgress){{cancelWorkTimer(workInProgress);}// TODO: Handle HostComponent tags here as well and call pushHostContext()? |
| 7467 | // See PR 8590 discussion for context |
| 7468 | switch(workInProgress.tag){case HostRoot$7:pushHostRootContext(workInProgress);break;case ClassComponent$6:pushContextProvider$1(workInProgress);break;case HostPortal$4:pushHostContainer(workInProgress,workInProgress.stateNode.containerInfo);break;}// TODO: What if this is currently in progress? |
| 7469 | // How can that happen? How is this not being cloned? |
no outgoing calls
no test coverage detected