From 6c7fd56de6311af5c530b2153418e6e7f72e956d Mon Sep 17 00:00:00 2001 From: ArshadAriff <113685884+ArshadAriff@users.noreply.github.com> Date: Wed, 30 Oct 2024 19:51:16 +0530 Subject: [PATCH] Update hydrateRoot.md i explained the meaning of "one level deep" mentioned in the documentation further without altering the meaning. --- src/content/reference/react-dom/client/hydrateRoot.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/reference/react-dom/client/hydrateRoot.md b/src/content/reference/react-dom/client/hydrateRoot.md index cc30ce22c1f..beaed39afc3 100644 --- a/src/content/reference/react-dom/client/hydrateRoot.md +++ b/src/content/reference/react-dom/client/hydrateRoot.md @@ -270,7 +270,8 @@ export default function App() { -This only works one level deep, and is intended to be an escape hatch. Don’t overuse it. Unless it’s text content, React still won’t attempt to patch it up, so it may remain inconsistent until future updates. + +This only works one level deep, meaning it allows bypassing React’s control only on direct child elements, not nested ones. Intended as an escape hatch for cases like embedding raw HTML or external content, it should be used sparingly. React won’t track updates beyond that first level, which may lead to inconsistencies until future updates. ---