Files
next.js/examples
c68d18c507 fix(examples): resolve hydration mismatch in blog-starter (#87703)
## What?
Add `suppressHydrationWarning` to the `<html>` element in the
blog-starter example.

## Why?
The ThemeSwitcher script runs before React hydration and adds `dark`
class and `data-mode` attribute to the `<html>` element, causing a
hydration mismatch error.

## How?
Add `suppressHydrationWarning` to the `<html>` element to tell React
this mismatch is intentional.

Fixes #74586

Co-authored-by: Joseph <[email protected]>
2025-12-23 21:02:35 +00:00
..
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-04-23 20:48:58 -05:00
2025-09-08 09:11:34 +02:00
2025-04-23 20:48:58 -05:00
2025-11-24 14:04:41 +01:00
2025-11-24 14:04:41 +01:00
2025-11-24 14:04:41 +01:00