Skip to content

Commit

Permalink
fix: entry.client not using the new hydrateRoot (#41)
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarneaga authored Mar 31, 2022
1 parent 141f50c commit d129188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/entry.client.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { hydrate } from "react-dom";
import { hydrateRoot } from "react-dom/client";
import { RemixBrowser } from "remix";

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

0 comments on commit d129188

Please sign in to comment.