1 person reported

All time, since Sep 10.

Prepended body div breaks hydration

“#third-party is gone from the DOM afterwards.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/next-js/issues/4264/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Third-party div prepended to body breaks hydration and is deleted. Streamed metadata wrapper renders as a hidden <div> first in <body>; consent managers or chat widgets prepending a <div> before hydration trigger React #418.

Is this your bug?

File my report
Where
App Router metadata streaming
Error text
Hydration failed because the server rendered HTML didn't match the client
Versions
16.3.4
Platforms
macOS
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. Streamed metadata wrapper is a <div> as the first child of <body>, so a third-party <div> prepended before hydration breaks hydration and gets deletedOn GitHub#98500
  2. Streamed metadata wrapper is a <div> as the first child of <body>, so any third-party <div> prepended before hydration breaks hydration and gets deletedOn GitHub#98498

Do you work on Next.js?

Claim its RAP Sheet to see what your users report and answer them in one place.