Title: React Router - Support Lazy-Loaded Routes · Issue #15040 · getsentry/sentry-javascript · GitHub
Open Graph Title: React Router - Support Lazy-Loaded Routes · Issue #15040 · getsentry/sentry-javascript
X Title: React Router - Support Lazy-Loaded Routes · Issue #15040 · getsentry/sentry-javascript
Description: 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 ...
Open Graph Description: 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 loa...
X Description: 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 loa...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/15040
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"React Router - Support Lazy-Loaded Routes","articleBody":"### Problem Statement\n\nRef: https://github.com/getsentry/sentry-javascript/issues/15027\n\nIn the current version, lazy-loaded routes in the React Router are not parameterized correctly in the SDK.\n\nWe 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.\n\n### Solution Brainstorm\n\nWe can investigate whether we can implement a solution using the currently-unstable [\"Fog of War\"](https://github.com/remix-run/react-router/discussions/11113) on React Router 7 to get the full routes tree and whether we can traverse it and create parameterized transactions.\n\n- React Router Implementation - [Link](https://github.com/remix-run/react-router/pull/11735/files#diff-d317cfcf8ac3e14530756b01710a3e224313b76e6275dbc86c0165c056ea6f8d)\n- React Router API Reference - [Link](https://api.reactrouter.com/v7/functions/react_router.UNSAFE_useFogOFWarDiscovery.html)\n\n","author":{"url":"https://github.com/onurtemizkan","@type":"Person","name":"onurtemizkan"},"datePublished":"2025-01-16T22:39:47Z","url":"https://github.com/getsentry/sentry-javascript/issues/15040"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4764fdb1-6b7b-8dab-7a45-ef2bcff914c6 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E696:31E3E4:DF5AD5:12351A4:6B04E667 |
| html-safe-nonce | c8d00c3881d22a21a4b792a86550577ba84cb8f2478d28d6f94762afa7e716d2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjk2OjMxRTNFNDpERjVBRDU6MTIzNTFBNDo2QjA0RTY2NyIsInZpc2l0b3JfaWQiOiIxNDg3MDkxMDgzNjU5NzcxOTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 722986ce6abed7571f9ce04c34138dd87d35854b78105360caaf69df2d65cff7 |
| hovercard-subject-tag | issue:2793926446 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/15040/issue_layout |
| twitter:image | https://opengraph.githubassets.com/51cd42909c024d84e22bd296179c00cf6dd24c1215b487dd10703090e636220e/getsentry/sentry-javascript/issues/15040 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/51cd42909c024d84e22bd296179c00cf6dd24c1215b487dd10703090e636220e/getsentry/sentry-javascript/issues/15040 |
| og:image:alt | 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 loa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | onurtemizkan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 970f03f35f02bb123d2b6f1884601d89a570dc02e5ef9612b1b6ca5c033b1796 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | ebcec4199c8521b643c068ef118a1ba9a43b678a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width