We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
stripBasename
enableAsyncRouteHandlers
1 parent 2e0a521 commit 739e50aCopy full SHA for 739e50a
packages/react/src/reactrouterv6-compat-utils.tsx
@@ -57,7 +57,19 @@ export interface ReactRouterOptions {
57
useNavigationType: UseNavigationType;
58
createRoutesFromChildren: CreateRoutesFromChildren;
59
matchRoutes: MatchRoutes;
60
+ /**
61
+ * Whether to strip the basename from the pathname when creating transactions.
62
+ *
63
+ * This is useful for applications that use a basename in their routing setup.
64
+ * @default false
65
+ */
66
stripBasename?: boolean;
67
68
+ * Enables support for async route handlers.
69
70
+ * This allows Sentry to track and instrument routes dynamically resolved from async handlers.
71
72
73
enableAsyncRouteHandlers?: boolean;
74
}
75
0 commit comments