Skip to content

Commit

Permalink
Revert "fix: entry.client not using the new hydrateRoot (remix-run#41)"
Browse files Browse the repository at this point in the history
This reverts commit d129188.
  • Loading branch information
kentcdodds committed Mar 31, 2022
1 parent d129188 commit f846efc
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 { hydrateRoot } from "react-dom/client";
import { hydrate } from "react-dom";
import { RemixBrowser } from "remix";

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

0 comments on commit f846efc

Please sign in to comment.