You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
We are stuck on this as we have to use the hash router.
Anyone could point me in the right direction to make sentry work with [email protected]+createHashRouter?
I checked the PR to integrate createBrowserRouter and it doesn't look so complicated so I'm wondering if there is some fundamental difference in the way browser and hash routers should be handled by sentry.
Problem Statement
React Router 6.4 introduced Data API, with 3 new ways to initialize a router:
createBrowserRouter
: feat(react): Add tracing support for React Router 6.4createBrowserRouter
. #6172createMemoryRouter
also covered by feat(react): Add tracing support for React Router 6.4createBrowserRouter
. #6172createHashRouter
We should support usage of
createHashRouter
for users that prefer it overcreateBrowserRouter
.Solution Brainstorm
Implementation should be fairly similar to
createBrowserRouter
, we should still be able to subscribe routing events.Also need to check:
Alternatively we can also consider writing a wrapper for
<RouterProvider>
, which all three types of routers are rendered in.The text was updated successfully, but these errors were encountered: