Title: [JavaScript] React Router (v7) SDK · Issue #14519 · getsentry/sentry-javascript · GitHub
Open Graph Title: [JavaScript] React Router (v7) SDK · Issue #14519 · getsentry/sentry-javascript
X Title: [JavaScript] React Router (v7) SDK · Issue #14519 · getsentry/sentry-javascript
Description: Description This ticket is about supporting React Router v7 as a full meta-framework: https://reactrouter.com/start/framework/installation This includes full instrumentation for both client and server side. Overview We will publish a new...
Open Graph Description: Description This ticket is about supporting React Router v7 as a full meta-framework: https://reactrouter.com/start/framework/installation This includes full instrumentation for both client and ser...
X Description: Description This ticket is about supporting React Router v7 as a full meta-framework: https://reactrouter.com/start/framework/installation This includes full instrumentation for both client and ser...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/14519
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[JavaScript] React Router (v7) SDK","articleBody":"### Description\n\nThis ticket is about supporting React Router v7 as a full meta-framework: https://reactrouter.com/start/framework/installation \n\nThis includes full instrumentation for both client and server side.\n\n## Overview\n\nWe will publish a new package `@sentry/react-router`.\nTo not carry over too much unneeded functionality like rsbuild support, non-otel instrumentation or support for older remix versions we will not build upon `@sentry/remix` and rather treat this as new SDK with the possibility of re-using remix otel instrumentation.\n\nThe starting point will be instrumenting the framework using `@sentry/node` and `@sentry/react`\n\n## Discussed approach for configuration and entrypoints:\n- Create a Vite plugin for react router\n- Create a wrapper for the react router config file for having access to all config params\n- Create separate instrumentation files for client and server, which can be imported in the respective entry files (esm support possible)\n- (Possibly) create a wrapper for the new routes.ts file\n - we still need to check at which point this file is evaluated and if this will help us with parameterization\n - for future compatibility this might be a good file to have from the start on\n\n### Additional tasks (issue creation tbd)\n- Write a migration path from `@sentry/remix` to `@sentry/react-router`\n- Wizard for `@sentry/react-router`","author":{"url":"https://github.com/chargome","@type":"Person","name":"chargome"},"datePublished":"2024-11-28T10:11:45Z","url":"https://github.com/getsentry/sentry-javascript/issues/14519"}
| 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:6f9447b4-e281-612d-4c95-350ca2b61c5e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E01E:225229:242DD:30A20:6B044297 |
| html-safe-nonce | 721adbec6d36a6b3c8d8501f8a4eb352afd92b80958dc46f7f56ba0439cfd896 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDFFOjIyNTIyOToyNDJERDozMEEyMDo2QjA0NDI5NyIsInZpc2l0b3JfaWQiOiIzMjEzNTAzNTY0OTc4ODY0NzkyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | f0a3ba6a7a1c2cf15f7a67286fbfb6241091c12411d09c12d1def1b5cf029253 |
| hovercard-subject-tag | issue:2701606079 |
| 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/14519/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b2c51fc9a352df3e2e5022b56f36529ae94153075015ec964216d2aa3c523873/getsentry/sentry-javascript/issues/14519 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2c51fc9a352df3e2e5022b56f36529ae94153075015ec964216d2aa3c523873/getsentry/sentry-javascript/issues/14519 |
| og:image:alt | Description This ticket is about supporting React Router v7 as a full meta-framework: https://reactrouter.com/start/framework/installation This includes full instrumentation for both client and ser... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chargome |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| 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