portal-dashboard/app/entry.client.tsx

13 lines
271 B
TypeScript
Raw Permalink Normal View History

2024-03-05 16:56:17 +00:00
import { RemixBrowser } from "@remix-run/react";
import { startTransition, StrictMode } from "react";
import { hydrateRoot } from "react-dom/client";
startTransition(() => {
hydrateRoot(
document,
<StrictMode>
<RemixBrowser />
</StrictMode>
);
});