Skip to content
public-library›Rules›React›Suppress only expected hydration mismatches

Suppress only expected hydration mismatches

When an element's text or attribute intentionally differs between server and client, add suppressHydrationWarning to that element only. Fix every other mismatch at its source.

In the full rule