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(hydrateRoot): update suppressHydrationWarning behavior #7651

Merged

Conversation

samcx
Copy link
Contributor

@samcx samcx commented Feb 25, 2025

Why?

We should clarify that React will not attempt to patch mismatched text content when using suppressHydrationWarning.

Copy link

vercel bot commented Feb 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
19-react-dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 25, 2025 11:43pm
react-dev ✅ Ready (Inspect) Visit Preview Feb 25, 2025 11:43pm

Copy link

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@eps1lon eps1lon merged commit 4a4e579 into reactjs:main Feb 26, 2025
10 checks passed
@samcx samcx deleted the sam/hydrateRoot/suppressHydrationWarning branch February 26, 2025 20:08
samcx added a commit to vercel/next.js that referenced this pull request Feb 26, 2025
## Why?

We should clarify that React will **not** attempt to patch mismatched text content when using `suppressHydrationWarning`.

- Related: reactjs/react.dev#7651
- x-ref: #75890
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants