Got this debugging another error. Filing here for reference. Original code: https://phabricator.intern.facebook.com/P59317705
node.alternate.expirationTime > expirationTime
        ) {
          node.alternate.expirationTime = expirationTime;
        }
      }
      if (node.return === null) {
        if (node.tag === HostRoot) {
          const root: FiberRoot = (node.stateNode: any);
          if (
            !isWorking &&
            nextRenderExpirationTime !== NoWork &&
            expirationTime < nextRenderExpirationTime
          ) {
            
            interruptedBy = fiber;
            resetStack();
          }
          if (nextRoot !== root || !isWorking) {
            requestWork(root, expirationTime);
          }
          if (nestedUpdateCount > NESTED_UPDATE_LIMIT) {
            invariant(
              false,
              'Maximum update depth exceeded. This can happen when a ' +
                'component repeatedly calls setState inside ' +
                'componentWillUpdate or componentDidUpdate. React limits ' +
                'the number of nested updates to prevent infinite loops.',
            );
          }
        } else {