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>, ); });