SupabaseContext: Context<{
    client: null | default<any, "public", any>;
    user: null | User;
}> = ...

Context Provider for the supabase client and user spreading according state across the app. client stays null while supabase is loading user stays null as long as no user is not authenticated. Therefore, these can be used as loading flags.

Type declaration

  • client: null | default<any, "public", any>
  • user: null | User

Generated using TypeDoc