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

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