-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed as not planned
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
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? If you use the CDN bundles, please specify the exact bundle (e.g. bundle.tracing.min.js) in your SDK setup.
@sentry/nextjs
SDK Version
7.39.0
Framework Version
React 18+
Link to Sentry event
No response
SDK Setup
No response
Steps to Reproduce
Problem Statement
Next.js recently added Component Stack for the errors:
- "Hydration failed because the initial UI does not match what was rendered on the server."
- "There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering"
This is an error that I can't produce on the client. It just reports once and disappears
Related to these issues:
- Bug:
validateDOMNestingHydration failed facebook/react#24519 (comment) - Bug:
validateDOMNestingHydration failed facebook/react#24519 (comment)

Expected Result
I could see the Component Stack.
Actual Result
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Package: nextjsIssues related to the Sentry Nextjs SDKIssues related to the Sentry Nextjs SDK
Fields
Give feedbackNo fields configured for issues without a type.