• 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:

Debug Hydration Errors with our Diff Tool - Now Generally Available

Hydration errors are a React-specific problem that happen when the initial client UI does not match what was rendered on the server. They can result in extra work for the browser, and a slower page load experience for users.

To help you better debug hydration errors, we have created a diff tool that helps you spot the differences between client-rendered and server-rendered HTML when hydration occurs on your app. If you have Session Replay enabled, Sentry will detect hydration errors and bring them into your issue stream.

Replay - Hydration Error Diff Tool (4).gif

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.

In addition, detected hydration errors will appear in the breadcrumbs of your Session Replay view, and you can open the diff tool directly within the replay.

The prerequisites for this feature is to ensure you have Session Replay installed if you have not already for your React-based project.

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.

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