From 26caa649827e8f8cadd24dfc420ea802dcbee246 Mon Sep 17 00:00:00 2001 From: Fakhruddin Ali Hussain Date: Sun, 26 Jun 2022 20:39:00 -0700 Subject: [PATCH] Fixes hydrateRoot link (#4775) Fixes #4770 --- content/docs/reference-react-dom.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/docs/reference-react-dom.md b/content/docs/reference-react-dom.md index bc6d8df5..1c995b3c 100644 --- a/content/docs/reference-react-dom.md +++ b/content/docs/reference-react-dom.md @@ -108,7 +108,7 @@ If the optional callback is provided, it will be executed after the component is > and should be avoided because future versions of React may render components asynchronously in some cases. If you need a reference to the root `ReactComponent` instance, the preferred solution is to attach a > [callback ref](/docs/refs-and-the-dom.html#callback-refs) to the root element. > -> Using `render()` to hydrate a server-rendered container is deprecated. Use [`hydrateRoot()`](#hydrateroot) instead. +> Using `render()` to hydrate a server-rendered container is deprecated. Use [`hydrateRoot()`](/docs/react-dom-client.html#hydrateroot) instead. * * *