Maximum Call Stack Size Exceeded When Using Sentry.withSentryReactRouterV7Routing Wrapper #14848
Open
3 tasks done
Labels
Package: browser
Issues related to the Sentry Browser SDK
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.47.0
Framework Version
React 19.0.0
Link to Sentry event
No response
Reproduction Example/SDK Setup
Steps to Reproduce
Issue Description
Maximum call stack size exceeded
error consistently.Observations
Routes
variable with theSentry.withSentryReactRouterV7Routing
wrapper.Routes
value (without the Sentry wrapper), the app works as expected.Debugging Insights
getChildRoutesRecursively
as the source of the issue.allRoutes
array keeps increasing indefinitely, repeating the same values, which seems to cause the stack overflow.Expected Result
No error
Actual Result
Video of the error
https://share.cleanshot.com/DKK4fppplggwQKPFpV34
The text was updated successfully, but these errors were encountered: