-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
7.100.0
Framework Version
React 18.2.0
Link to Sentry event
No response
SDK Setup
Sentry.init({
dsn: "[ redacted ]",
integrations: [
Sentry.reactRouterV6BrowserTracingIntegration({
useEffect,
useLocation,
useNavigationType,
createRoutesFromChildren,
matchRoutes,
stripBasename: true,
}),
],
tracesSampleRate: 0.1,
tracePropagationTargets: [
// ...
],
replaysSessionSampleRate: 0.01,
replaysOnErrorSampleRate: 1.0,
ignoreErrors: [
"ResizeObserver loop completed with undelivered notifications.",
],
})Steps to Reproduce
- Update from 7.99.x to 7.100.0
- Follow migration guide for browser tracing
- Swap 'new Sentry.BrowserTracing({ ... })' for
Sentry.reactRouterV6BrowserTracingIntegration({ ... }) - Launch Vite dev server
- Observe
Uncaught TypeError: Sentry.reactRouterV6BrowserTracingIntegration is not a functionin browser console
Expected Result
No error
Actual Result
Uncaught TypeError: Sentry.reactRouterV6BrowserTracingIntegration is not a function at main.tsx:x:y
Metadata
Metadata
Assignees
Labels
Projects
Status
Waiting for: Product Owner