13 lines
266 B
TypeScript
13 lines
266 B
TypeScript
import { RemixBrowser } from "@remix-run/react"
|
|
import { startTransition, StrictMode } from "react"
|
|
import { hydrateRoot } from "react-dom/client"
|
|
|
|
startTransition(() => {
|
|
hydrateRoot(
|
|
document,
|
|
<StrictMode>
|
|
<RemixBrowser />
|
|
</StrictMode>
|
|
)
|
|
})
|