2024-11-17 17:17:40 +08:00
|
|
|
/**
|
|
|
|
* By default, Remix will handle hydrating your app on the client for you.
|
|
|
|
* You are free to delete this file if you'd like to, but if you ever want it revealed again, you can run `npx remix reveal` ✨
|
|
|
|
* For more information, see https://remix.run/file-conventions/entry.client
|
|
|
|
*/
|
|
|
|
|
|
|
|
import { RemixBrowser } from "@remix-run/react";
|
|
|
|
import { startTransition, StrictMode } from "react";
|
|
|
|
import { hydrateRoot } from "react-dom/client";
|
|
|
|
|
|
|
|
startTransition(() => {
|
2024-12-12 23:27:36 +08:00
|
|
|
hydrateRoot(document, <RemixBrowser />);
|
2024-11-17 17:17:40 +08:00
|
|
|
});
|