We don't actually use this anywhere, so let's remove it.

https://github.com/facebook/react/blob/f1d00156df5453bc62bd5668fefdcac4ca67e90e/src/renderers/shared/fiber/ReactFiberScheduler.js#L1504-L1512
const NESTED_UPDATE_LIMIT = 1000;
  let nestedUpdateCount: number = 0;
  let nextRenderedTree: FiberRoot | null = null;
  function resetContextStack() {
    
    reset();
    
    resetContext();
    resetHostContainer();
  }
   resetNextUnitOfWork mutates the current priority context. It is reset after
   after the workLoop exits, so never call resetNextUnitOfWork from outside
   the work loop.
  function resetNextUnitOfWork() {
    
    while (
      nextScheduledRoot !== null &&
      nextScheduledRoot.current.pendingWorkPriority === NoWork
    ) {
      
      nextScheduledRoot.isScheduled = false;
      
      
      const next = nextScheduledRoot.nextScheduledRoot;
      nextScheduledRoot.nextScheduledRoot = null;
      
      if (nextScheduledRoot === lastScheduledRoot) {
        nextScheduledRoot = null;
        lastScheduledRoot = null;
        nextPriorityLevel = NoWork;