-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
React Router v7 Vite frontend performance monitoring not receiving events #16086
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hey @NGimbal thanks for moving this here. Where do you call the |
@chargome thanks for the reply - here's my // entry.client.tsx
import { startTransition } from 'react'
import { hydrateRoot } from 'react-dom/client'
import { HydratedRouter } from 'react-router/dom'
if (ENV.MODE === 'production' && ENV.SENTRY_DSN) {
void import('./utils/monitoring.client.tsx').then(({ init }) => init())
}
startTransition(() => {
hydrateRoot(document, <HydratedRouter />)
}) |
Generally looks alright I would say, can you add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react-router
SDK Version
9.12.0
Framework Version
react-router v7 previously remix, using vite, based on epic-stack
Link to Sentry event
No response
Reproduction Example/SDK Setup
The best place to look for reproduction is the epic-stack. I've followed their integration in my app. Releases, backend performance monitoring, and error capturing all seem to work, but frontend performance monitoring is not working in Sentry despite seeing events sent by the frontend.
Issue first reported here: #14519 (comment)
Steps to Reproduce
Followed epic-stack example for sentry / react-router v7 / vite integration
Expected Result
I should see frontend performance monitoring info.
Actual Result
Events sent from frontend:
The text was updated successfully, but these errors were encountered: