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 (providerResolvedContext === consumerResolvedContext) {
            context = current.memoizedProps.value;
            break;
          }
        }
        current = current.return;
      }
    }
    let hasLegacyContext = false;
    if (context !== null) {
      hasLegacyContext = !!type.contextTypes;
       T
       O
      context = {value: context};
    }
    let owners = null;
    if (_debugOwner) {
      owners = [];
      let owner = _debugOwner;
      while (owner !== null) {
        owners.push(fiberToSerializedElement(owner));
        owner = owner._debugOwner || null;
      }
    }
    const isTimedOutSuspense =
      tag === SuspenseComponent && memoizedState !== null;
    let hooks = null;
    if (usesHooks) {
      const originalConsoleMethods = {};
       T