mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-08 12:57:46 +00:00
Bring in line with Remix defaults https://github.com/remix-run/remix/blob/main/packages/remix-dev/config/defaults/entry.client.react-stream.tsx
13 lines
271 B
JavaScript
13 lines
271 B
JavaScript
import { RemixBrowser } from '@remix-run/react';
|
|
import { startTransition, StrictMode } from 'react';
|
|
import { hydrateRoot } from 'react-dom/client';
|
|
|
|
startTransition(() => {
|
|
hydrateRoot(
|
|
document,
|
|
<StrictMode>
|
|
<RemixBrowser />
|
|
</StrictMode>
|
|
);
|
|
});
|