getsentry / getsentry/sentry-javascript

Investigate Next.js hydration error diff indicator

Open
#20,287 1 comment 0 reactions 1 assignee Claimed by @logaretm View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.