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
switch (effectfulFiber.tag) {
      case ClassComponent:
        const instance = effectfulFiber.stateNode;
        const info: HandleErrorInfo = {
          componentStack: capturedError.componentStack,
        };
         
         
        instance.componentDidCatch(capturedError.error, info);
        return;
      case HostRoot:
        if (firstUncaughtError === null) {
           
           
           
          firstUncaughtError = capturedError.error;
        }
        return;
      default:
        invariant(
          false,
          'Invalid type of work. This error is likely caused by a bug in ' +
            'React. Please file an issue.',
        );
    }
  }
  function unwindContexts(from: Fiber, to: Fiber) {
    let node = from;
    while (node !== null) {
      switch (node.tag) {