Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better Directive Support for Hydration Errors #85232

Open
Tracked by #85531
smeubank opened this issue Feb 14, 2025 · 1 comment
Open
Tracked by #85531

Better Directive Support for Hydration Errors #85232

smeubank opened this issue Feb 14, 2025 · 1 comment

Comments

@smeubank
Copy link
Member

Problem Statement

Hydration errors in Sentry can be just a ton of information, with no real clues on how to debug and fix them.

  • no information from a stack trace or a react component
  • solutions hub i just a definiton
  • links in the modal are just to more definition docs, describing the component we provide you. But not really how to solve it.
  • The answers page also tell you information you need, "The first step is to identify the component that is causing the error. "

Image

the image with slider is cool, most of the tabs I am told are just too much infromation to be useful.

Image

Solution Brainstorm

  • can we capture a stack trace for a hydration error attach and/or react component information
  • can we make the solutions hub more specific how to debug and fix
  • can we add platform specific advice
    • on NextJS, "Run your site locally with Next.js local dev tool to debug [link here] to see if this hyrdation error also occurs locally in an environment without browser extensions. If not, then you know this is just a problem related to an extension and not actionable. You can ignroe the issue in SDK or in product, by xyz"
  • we should have this for all relevant platforms
@smeubank smeubank transferred this issue from getsentry/sentry-javascript Feb 14, 2025
@getsantry
Copy link
Contributor

getsantry bot commented Feb 14, 2025

Routing to @getsentry/product-owners-issues for triage ⏲️

@shellmayr shellmayr changed the title Better Directive Support for Hyrdration Errors Better Directive Support for Hydration Errors Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

1 participant