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

docs(errors): update suppressHydrationWarning section #76521

Merged
merged 2 commits into from
Feb 26, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions errors/react-hydration-error.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ Sometimes content will inevitably differ between the server and client, such as
<time datetime="2016-10-25" suppressHydrationWarning />
```

> **Good to know:**
>
> - This only works one level deep, and is intended to be an escape hatch. Don’t overuse it.
> - React will **not** attempt to patch mismatched text content when `suppressHydrationWarning={true}`.

## Common iOS issues

iOS attempts to detect phone numbers, email addresses, and other data in text content and convert them into links, leading to hydration mismatches.
Expand Down
Loading