aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/entry.client.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/app/entry.client.tsx')
-rw-r--r--frontend/app/entry.client.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/frontend/app/entry.client.tsx b/frontend/app/entry.client.tsx
new file mode 100644
index 0000000..442da4f
--- /dev/null
+++ b/frontend/app/entry.client.tsx
@@ -0,0 +1,12 @@
+import { RemixBrowser } from "@remix-run/react";
+import { startTransition, StrictMode } from "react";
+import { hydrateRoot } from "react-dom/client";
+
+startTransition(() => {
+ hydrateRoot(
+ document,
+ <StrictMode>
+ <RemixBrowser />
+ </StrictMode>,
+ );
+});