-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Browser Tracing causing TanStack Router to be stuck in pending state after v1.98.3 #15234
Closed
3 tasks done
Labels
Package: react
Issues related to the Sentry React SDK
Comments
github-actions
bot
added
the
Package: react
Issues related to the Sentry React SDK
label
Jan 30, 2025
I think router made a breaking change by making a previously always defined field optional here: -fromLocation: ParsedLocation
+fromLocation?: ParsedLocation the sentry integration reads
I think we can fix this on our end by adding optional chaining:
and maybe update our dependencies to the latest router version to get the correct types. This should be backwards compatible, but we’d need to find all places where we access |
2 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ℹ️ Originally posted by @MTG2000 on TanStack Router's repo: TanStack/router#3277. Just resurfacing it here.
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
8.51.0
Framework Version
React 18.2.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
StackBlitz by original author: https://stackblitz.com/edit/github-pp1nvw-hhnn1f54?file=src%2Fmain.tsx
Steps to Reproduce
pending
stateExpected Result
Routing works
Actual Result
Routes stuck in
pending
stateThe text was updated successfully, but these errors were encountered: