Title: Support `useRoutes` with React Router 6 integration · Issue #5338 · getsentry/sentry-javascript · GitHub
Open Graph Title: Support `useRoutes` with React Router 6 integration · Issue #5338 · getsentry/sentry-javascript
X Title: Support `useRoutes` with React Router 6 integration · Issue #5338 · getsentry/sentry-javascript
Description: Problem Statement Current version of React Router 6 integration only supports routes configured as
Open Graph Description: Problem Statement Current version of React Router 6 integration only supports routes configured as
X Description: Problem Statement Current version of React Router 6 integration only supports routes configured as <Route> components under <Routes>. We also need to support routes defined as objects u...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5338
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support `useRoutes` with React Router 6 integration","articleBody":"### Problem Statement\n\nCurrent version of React Router 6 integration only supports routes configured as `\u003cRoute>` components under `\u003cRoutes>`.\r\n\r\nWe also need to support routes defined as objects using [`useRoutes` hook](https://reactrouter.com/docs/en/v6/hooks/use-routes).\n\n### Solution Brainstorm\n\nThe current version already [recreates and works on the same route object](https://github.com/getsentry/sentry-javascript/blob/b0efcb886050befbca8967fb531946c7bd643973/packages/react/src/reactrouterv6.tsx#L126), so we may make it possible to be provided by the user, without requiring a wrapper.","author":{"url":"https://github.com/onurtemizkan","@type":"Person","name":"onurtemizkan"},"datePublished":"2022-06-29T19:42:56Z","url":"https://github.com/getsentry/sentry-javascript/issues/5338"}
| 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:882fec46-9ac5-9e5f-d97d-7908eb6a2411 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB98:1E2FF8:57D469:7A293B:6B048101 |
| html-safe-nonce | 758ee06d09f338aa389e000710c6ea96fe5f53697e4b1138f39f50ac16d2c062 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjk4OjFFMkZGODo1N0Q0Njk6N0EyOTNCOjZCMDQ4MTAxIiwidmlzaXRvcl9pZCI6Ijc1NTQzOTc0MzE2MDYzMTMyMTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0e7be649aa30c31f4a1d18ac75cd6484d57d346bce72ab5e70c158361c4a3d12 |
| hovercard-subject-tag | issue:1289213705 |
| 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/5338/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dafa7116df511eadc57066fa7e9aec76dd1aaad119069dbb9408c9d3c31fa928/getsentry/sentry-javascript/issues/5338 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dafa7116df511eadc57066fa7e9aec76dd1aaad119069dbb9408c9d3c31fa928/getsentry/sentry-javascript/issues/5338 |
| og:image:alt | Problem Statement Current version of React Router 6 integration only supports routes configured as |
| 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 | 0366ddfb372682a32e92a5d86155cb08fa83e5bbe79953a968789f2f7e24c511 |
| 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 | ed3f2e01f6b7672780c586c8af0e72726374d7b6 |
| 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