(workInProgress)
| 7786 | // TODO Remove the above while(true) loop |
| 7787 | // eslint-disable-next-line no-unreachable |
| 7788 | return null;}function performUnitOfWork(workInProgress){// The current, flushed, state of this fiber is the alternate. |
| 7789 | // Ideally nothing should rely on this, but relying on it here |
| 7790 | // means that we don't need an additional field on the work in |
| 7791 | // progress. |
| 7792 | var current=workInProgress.alternate;// See if beginning this work spawns more work. |
| 7793 | {startWorkTimer(workInProgress);}var next=beginWork(current,workInProgress,nextPriorityLevel);if(true&&ReactFiberInstrumentation$1.debugTool){ReactFiberInstrumentation$1.debugTool.onBeginWork(workInProgress);}if(next===null){// If this doesn't spawn new work, complete the current work. |
| 7794 | next=completeUnitOfWork(workInProgress);}ReactCurrentOwner$1.current=null;{ReactDebugCurrentFiber$3.resetCurrentFiber();}return next;}function performFailedUnitOfWork(workInProgress){// The current, flushed, state of this fiber is the alternate. |
| 7795 | // Ideally nothing should rely on this, but relying on it here |
| 7796 | // means that we don't need an additional field on the work in |
| 7797 | // progress. |
no test coverage detected