Skip to content

Allow users to supress hydration warning related errors at the Sentry level #6295

@souredoutlook

Description

@souredoutlook

Problem Statement

Using this code:

image

A Hydration warning will be raised. This is related to an existing issue in React 18. vercel/next.js#39425

This will result in a high volume of errors being logged by Sentry. which can only be mitigated by setting the supressHydrationWarning option

Solution Brainstorm

While the logged error is expected , the volume of these errors are unwelcome.

If possible, configure the ability to supress hydration warnings (and related errors) at the Sentry level. This would allow users to compromise by keeping the hydration warnings in app but skip reporting these via simple configuration.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions