rsnext/docs
Jiachi Liu 049d127e91
docs: fix next/script example causing hydration errors (#63401)
Related #51242 

React will error `In HTML, <script> cannot be a child of <html>. This
will cause a hydration error.` when `script` is rendered under `html`
directly. The examples in our docs are causing this hydration error.
Moving it under `body` tag will fix the hydration error

Closes NEXT-2834

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
2024-03-18 14:36:23 +00:00
..
01-getting-started Docs: Address community feedback (#61857) 2024-02-10 09:59:29 -06:00
02-app docs: fix next/script example causing hydration errors (#63401) 2024-03-18 14:36:23 +00:00
03-pages Docs: Document crossOrigin option (#61455) 2024-03-07 12:24:04 -06:00
04-architecture Details for Turbopack loaders. (#62300) 2024-03-08 13:35:27 -08:00
05-community Update README.md (#48717) 2024-02-04 18:47:51 -08:00
index.mdx docs: fix broken link to learn course (#59288) 2023-12-05 08:39:54 -06:00