aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/entry.client.tsx
blob: 442da4f8a80dfbf0c3f9994a39773fe5d02130ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import { RemixBrowser } from "@remix-run/react";
import { startTransition, StrictMode } from "react";
import { hydrateRoot } from "react-dom/client";

startTransition(() => {
  hydrateRoot(
    document,
    <StrictMode>
      <RemixBrowser />
    </StrictMode>,
  );
});