bolt.new/packages/bolt/app/entry.client.tsx

13 lines
272 B
TypeScript
Raw Normal View History

2024-07-10 16:44:39 +00:00
import { RemixBrowser } from '@remix-run/react';
import { startTransition, StrictMode } from 'react';
import { hydrateRoot } from 'react-dom/client';
startTransition(() => {
hydrateRoot(
document,
<StrictMode>
<RemixBrowser />
</StrictMode>,
);
});