• Error Monitoring
  • Logs
  • Session Replay
  • Tracing
  • Seer
  • Uptime Monitoring
  • Profiling
  • Cron Monitoring
  • AI Code Review
  • Github
  • Slack
  • All Integrations
  • Javascript
  • Python
  • React
  • Laravel
  • Next.js
  • All SDKs

Solutions

  • Web / Frontend Development
  • Mobile Crash Reporting
  • Game Crash Reporting
  • AI Observability
  • Application Performance Monitoring
  • Real User Monitoring
  • Ecommerce
  • Enterprise
  • Blog
  • Changelog
  • Sandbox
  • Resources
  • Sentry Answers
  • Syntax
  • Customers
  • For Startups
  • Contact Us
  • Help Center
  • Status
  • Sentry Build
  • Events
  • Merch
Docs
Pricing
Sign InGet DemoGet Started
  • Products

    • Error Monitoring
    • LogsNEW
    • Session Replay
    • Tracing
    • SeerNEW
    • Uptime Monitoring
    • Profiling
    • Cron Monitoring
    • AI Code ReviewNEW

    Products

    • Error Monitoring
    • LogsNEW
    • Session Replay
    • Tracing
    • SeerNEW
    • Uptime Monitoring
    • Profiling
    • Cron Monitoring
    • AI Code ReviewNEW

    Integrations

    • Github
    • Slack
    • All Integrations

    Integrations

    • Github
    • Slack
    • All Integrations

    SDKs

    • Javascript
    • Python
    • React
    • Laravel
    • Next.js
    • All SDKs

    SDKs

    • Javascript
    • Python
    • React
    • Laravel
    • Next.js
    • All SDKs
  • Solutions

    • Web / Frontend Development
    • Mobile Crash Reporting
    • Game Crash Reporting
    • AI Observability
    • Application Performance Monitoring
    • Real User Monitoring
    • Ecommerce
    • Enterprise
  • Learn

    • Blog
    • Changelog
    • Sandbox
    • Resources
    • Sentry Answers
    • Syntax
    • Customers
    • For Startups

    Learn

    • Blog
    • Changelog
    • Sandbox
    • Resources
    • Sentry Answers
    • Syntax
    • Customers
    • For Startups

    Support

    • Contact Us
    • Help Center
    • Status

    Support

    • Contact Us
    • Help Center
    • Status

    Hang out with us

    • Sentry Build
    • Events
    • Merch

    Hang out with us

    • Sentry Build
    • Events
    • Merch
    Holiday E-Commerce Checklist: A Developer’s Survival Guide

    Holiday E-Commerce Checklist: A Developer’s Survival Guide

    There’s never a good time for errors or performance degradations to show up, but during periods of peak traffic like the holidays, it’s especially critical to get immediate answers about what's failing and how to fix it.

    Learn More
  • Docs
  • Pricing
Sign InGet DemoGet Started
Sentry Changelog Illustration

Sentry Changelog

Follow Twitter@SentryChangelog to stay up to date on everything from product updates to SDK changes.

Categories:

Jump to:

Helping You Solve Hydration Errors: Visual and HTML Diff Tooling

At the beginning of this year, we launched a diff tool embedded within Replay Details to help you find the element or attribute that caused a given hydration error.

We took this concept one step further and are now creating new actionable Hydration Error issues in your issues stream that are based on replay data and improved our diff tooling so you can troubleshoot these issues faster & improve your site's web performance. 🚀 This ensures you not only get alerted when hydration errors happen, but that you also have the tools at your disposal to solve for them.

In every Hydration Error issue, we provide:

  • Image Slider Tool: allows for comparing the two page states by overlaying the images on top of each other. Click and drag the purple line to reveal one image or the other
  • Side-by-Side Image Tool: view images side-by-side to see large chunks of the page that may differ.
  • HTML Diff: a basic HTML comparison. It is useful if the hydration error is caused by hidden DOM nodes, different attributes on a DOM node, or there's mismatched content below the fold.

Here's an example of the side-by-side image tool. As you can see, the language/framework dropdown in the top-left of the screen comes from the server with no value selected, but has "JavaScript" selected after hydration. Also, after hydration a "Copy to clipboard" button was added to each of the code snippets in the middle of the page, and the second code snippet has syntax highlighting applied.

Screenshot 2024-07-18 at 4.41.27 PM.png

The prerequisites for this feature is to ensure you have Session Replay installed if you have not already for your React-based project and that 'Early Adopter' toggled on for your organization (Settings > General > Early Adopter).

For more information, check out our docs .

Note: Hydration Error issues based on replay data do not consume errors quota. See here for more information.

July 18, 2024
Your code is broken. Let's Fix it.
Get Started