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).
break;
      }
      const displayName = getDisplayNameForFiber(child);
      if (displayName !== null) {
         P
         W
        if (typeof child.type === 'function') {
           T
           t
          preferredDisplayName = displayName;
        } else if (fallbackDisplayName === null) {
          fallbackDisplayName = displayName;
        }
      }
      if (preferredDisplayName !== null) {
        break;
      }
      child = child.child;
    }
    return preferredDisplayName || fallbackDisplayName || 'Anonymous';
  }
  function getPathFrame(fiber: Fiber): PathFrame {
    const {key} = fiber;
    let displayName = getDisplayNameForFiber(fiber);
    const index = fiber.index;
    switch (fiber.tag) {
      case HostRoot: