From 65e5b8379d4bb91d5f3c68b87c3c5b7273cda4bb Mon Sep 17 00:00:00 2001 From: Girish21 Date: Sat, 11 Jun 2022 16:14:03 +0530 Subject: [PATCH] upgrade to use `hydrateRoot` --- packages/remix-app/app/entry.client.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/remix-app/app/entry.client.tsx b/packages/remix-app/app/entry.client.tsx index c91de88..59791cc 100644 --- a/packages/remix-app/app/entry.client.tsx +++ b/packages/remix-app/app/entry.client.tsx @@ -1,4 +1,4 @@ import { RemixBrowser } from '@remix-run/react' -import { hydrate } from 'react-dom' +import { hydrateRoot } from 'react-dom/client' -hydrate(, document) +hydrateRoot(document, )