Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

React Router - Support Lazy-Loaded Routes #15040

Copy link
Copy link
@onurtemizkan

Description

@onurtemizkan
Issue body actions

Problem Statement

Ref: #15027

In the current version, lazy-loaded routes in the React Router are not parameterized correctly in the SDK.

We are able to parameterize up to the deepest non-lazily loaded route, and no further as we are not able to reach the full routes tree.

Solution Brainstorm

We can investigate whether we can implement a solution using the currently-unstable "Fog of War" on React Router 7 to get the full routes tree and whether we can traverse it and create parameterized transactions.

  • React Router Implementation - Link
  • React Router API Reference - Link
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDKPackage: react-routerIssues related to the Sentry React Router SDKIssues related to the Sentry React Router SDK

    Projects

    Status

    No status
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.