getsentry / getsentry/sentry-javascript
Investigate Next.js hydration error diff indicator
Open
Improvement
Next.js
- Dominant language
- TypeScript
- Stars
- 8.7k
- Forks
- 1.8k
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 515
Description
Currently we display React hydration errors depending on the environment, for production we send the minified error and that gets unfolded based on the error code to a hydration error on ingest side of things.
Next.js 16.2 [released a hydration diff indicator](https://nextjs.org/blog/next-16-2#hydration-diff-indicator), which is worth investigating and see if we can also do that for hydration errors by displaying the diff node.
Contributor guide
Assessment
This issue has not been assessed yet.