Skip to content

Commit

Permalink
upgrade to use hydrateRoot
Browse files Browse the repository at this point in the history
  • Loading branch information
Girish21 committed Jun 11, 2022
1 parent 13ae74e commit 65e5b83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/remix-app/app/entry.client.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { RemixBrowser } from '@remix-run/react'
import { hydrate } from 'react-dom'
import { hydrateRoot } from 'react-dom/client'

hydrate(<RemixBrowser />, document)
hydrateRoot(document, <RemixBrowser />)

0 comments on commit 65e5b83

Please sign in to comment.