Skip to content

Add support for React Router v8 #21622

@smorimoto

Description

@smorimoto

Problem Statement

React Router v8 was released on 17 June 2026 (see https://remix.run/blog/react-router-v8), and the Sentry JavaScript SDK does not yet officially support it.

Solution Brainstorm

It would be marvellous if the SDK could officially support React Router v8.

Additional Context

Reference: React Router v8 release announcement – https://remix.run/blog/react-router-v8

Key breaking changes from the announcement: ESM-only module, raised baseline support (Node 22.22.0+, React 19.2.7+, Vite 7+), several future flags now enabled by default, removal of react-router-dom, and removal of the deprecated data parameter in favour of loaderData for the meta APIs.

Priority

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.

Metadata

Metadata

Assignees

Labels

FeaturejavascriptPull requests that update javascript code
No fields configured for issues without a type.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions