Skip to content

Sentry Integration causing router to be stuck in pending state after v1.98.3 #3277

@MTG2000

Description

@MTG2000

Which project does this relate to?

Router

Describe the bug

After updating Tanstack Router to 1.98.3 my app stopped working.
It doesn't render any pages or components and doesn't throw any errors. Just blank page & blank console.

Disabling the sentry tanstack router integration make it work again.

I was using v1.91.3 before & it was working with the Sentry integration without problems.

If I open the router dev tools, I will see all the routes stuck in pending state.

Example available on StackBlitz.

Your Example Website or App

https://stackblitz.com/edit/github-pp1nvw-hhnn1f54?file=src%2Fmain.tsx

Steps to Reproduce the Bug or Issue

Try disabling/re-enabling the integrations: [Sentry.tanstackRouterBrowserTracingIntegration(router)], in main.tsx

Expected behavior

Sentry integration with Tanstack Router should work as it was in the previous versions.

Screenshots or Videos

No response

Platform

  • OS: [Linux]
  • Browser: [Chrome]
  • Version: Latest

Additional context

Not sure if it's related or not: #2164

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions