mirror of
https://github.com/gabehf/Koito.git
synced 2026-03-07 21:48:18 -08:00
12 lines
275 B
TypeScript
12 lines
275 B
TypeScript
import { startTransition, StrictMode } from "react";
|
|
import { hydrateRoot } from "react-dom/client";
|
|
import { HydratedRouter } from "react-router/dom";
|
|
|
|
startTransition(() => {
|
|
hydrateRoot(
|
|
document,
|
|
<StrictMode>
|
|
<HydratedRouter />
|
|
</StrictMode>
|
|
);
|
|
});
|