With the minimum React Router version raised to 7.15, the client instrumentation API hooks always fire, so the legacy instrumentHydratedRouter navigation fallback is dead code.
Remove the !isClientInstrumentationApiUsed() navigate-patching fallback in client/hydratedRouter.ts (and simplify the surrounding logic that only existed to support React Router < 7.15).
Part of #22290.
With the minimum React Router version raised to 7.15, the client instrumentation API hooks always fire, so the legacy
instrumentHydratedRouternavigation fallback is dead code.Remove the
!isClientInstrumentationApiUsed()navigate-patching fallback inclient/hydratedRouter.ts(and simplify the surrounding logic that only existed to support React Router < 7.15).Part of #22290.