mirror of
https://github.com/stackblitz/bolt.new
synced 2024-11-27 22:42:21 +00:00
13 lines
272 B
TypeScript
13 lines
272 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>,
|
||
|
);
|
||
|
});
|