Layout scaffolding for Web apps.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

entry.client.tsx 574 B

123456789101112131415161718
  1. /**
  2. * By default, Remix will handle hydrating your app on the client for you.
  3. * 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` ✨
  4. * For more information, see https://remix.run/docs/en/main/file-conventions/entry.client
  5. */
  6. import { RemixBrowser } from "@remix-run/react";
  7. import { startTransition, StrictMode } from "react";
  8. import { hydrateRoot } from "react-dom/client";
  9. startTransition(() => {
  10. hydrateRoot(
  11. document,
  12. <StrictMode>
  13. <RemixBrowser />
  14. </StrictMode>
  15. );
  16. });