Skip to content

Remove legacy <7.15 client navigation fallback from react-router #22532

Description

@chargome

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.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions