Supabase Client Component Clients In Grida Form Workspace Reviewed.
Supabase Client Components reviewed in Grida Form workspace. Multiple clients defined for different schemas, including commerce & workspace clients. @supabase/auth-helpers-nextjs is deprecated, use @supabase/ssr instead.
In this article, we will review the Supabase Client Component clients in Grida Form workspace. In case you are wondering what a Supabase Client Component client is, Read the Supabase docs.
Client Component client — To access Supabase from Client Components, which run in the browser.
In the lib/supabase/client.ts, you have multiple clients defined depending on the schema.
Client Component
createClientFormsClient
You will find the below code at line 4
export const createClientFormsClient = () =>
createClientComponentClient<Database, "grida_forms">({
options: {...