From 9281ec1990c28173e39a12bddc038579763a9e58 Mon Sep 17 00:00:00 2001 From: Alexander Mordvinov <32086218+mordv@users.noreply.github.com> Date: Wed, 27 Nov 2024 04:45:35 +0700 Subject: [PATCH] fix hydrateRoot args order (#2869) --- docs/guides/ssr-and-hydration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/ssr-and-hydration.md b/docs/guides/ssr-and-hydration.md index b0f97512bc..7b3f1dbc4c 100644 --- a/docs/guides/ssr-and-hydration.md +++ b/docs/guides/ssr-and-hydration.md @@ -148,7 +148,7 @@ import ReactDOMClient from 'react-dom/client' import { App } from './app.tsx' -ReactDOMClient.hydrateRoot(, document) +ReactDOMClient.hydrateRoot(document, ) ``` ```tsx