Skip to content

Commit

Permalink
updates remix entry files
Browse files Browse the repository at this point in the history
  • Loading branch information
cammiida committed Dec 24, 2024
1 parent 4b062be commit bd761ba
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 23 deletions.
12 changes: 10 additions & 2 deletions app/entry.client.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
import { RemixBrowser } from "@remix-run/react";
import { hydrate } from "react-dom";
import { startTransition, StrictMode } from "react";
import { hydrateRoot } from "react-dom/client";

hydrate(<RemixBrowser />, document);
startTransition(() => {
hydrateRoot(
document,
<StrictMode>
<RemixBrowser />
</StrictMode>
);
});
21 changes: 0 additions & 21 deletions app/entry.server.tsx

This file was deleted.

0 comments on commit bd761ba

Please sign in to comment.