supabase-known-pitfalls
Avoid and fix the most common Supabase mistakes: exposing service_role key
in client bundles, forgetting to enable RLS, not using connection pooling
in serverless, .single() throwing on empty results, missing .select() after
insert/update, not destructuring { data, error }, creating multiple client
instances, and not using generated types.
Use when reviewing Supabase code, onboarding developers, auditing an
existing project, or debugging unexpected behavior.
Trigger with phrases like "supabase mistakes", "supabase anti-patterns",
"supabase pitfalls", "supabase code review", "supabase gotchas",
"supabase debugging", "what not to do supabase", "supabase common errors".
Code Review⭐ 2.4k3 files