Files
aptabase-js/examples/remix-app/app/entry.client.tsx
Lectom C Han 421105f082
Some checks failed
Release / Release (push) Failing after 1m44s
first commit
2025-07-07 18:53:25 +09:00

22 lines
693 B
TypeScript

/**
* 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 { AptabaseProvider } from '@aptabase/react';
import { RemixBrowser } from '@remix-run/react';
import { startTransition, StrictMode } from 'react';
import { hydrateRoot } from 'react-dom/client';
startTransition(() => {
hydrateRoot(
document,
<StrictMode>
<AptabaseProvider appKey="A-DEV-0000000000">
<RemixBrowser />
</AptabaseProvider>
</StrictMode>,
);
});