Back to Supabase

Create Client Snippet

apps/docs/content/_partials/create_client_snippet.mdx

1.26.04420 B
Original Source
<Admonition type="tip">

Make sure you're using the right supabase client in the following code.

If you're not using Server-Side Rendering or cookie-based Auth, you can directly use the createClient from @supabase/supabase-js. If you're using Server-Side Rendering, see the Server-Side Auth guide for instructions on creating your Supabase client.

</Admonition>