This can cause long file names (URLs) to be truncated which in turn will break named hooks code (since it needs to load those file names).
if (fiber != null) {
      if (findNearestUnfilteredAncestor) {
        while (fiber !== null && shouldFilterFiber(fiber)) {
          fiber = fiber.return;
        }
      }
      return getFiberIDThrows(((fiber: any): Fiber));
    }
    return null;
  }
  const MOUNTING = 1;
  const MOUNTED = 2;
  const UNMOUNTED = 3;
   This function is copied from React and should be kept in sync:
   https:github.com/facebook/react/blob/main/packages/react-reconciler/src/ReactFiberTreeReflection.js
  function isFiberMountedImpl(fiber: Fiber): number {
    let node = fiber;
    let prevNode = null;
    if (!fiber.alternate) {
       I
       y
      if ((getFiberFlags(node) & Placement) !== NoFlags) {
        return MOUNTING;
      }
       T
      if ((getFiberFlags(node) & Incomplete) !== NoFlags) {
        return UNMOUNTED;
      }
      while (node.return) {
        prevNode = node;