Cleaner React Logic: Refactoring My Waitlist Submission Flow
This article is a continuation of the article I wrote on the RLS policy issue I solved with Supabase. After I had fixed the RLS policy issue, I discovered that the way I structured my code was wrong. Semantically, it looked sort of correct but it was logically wrong. Here's a live preview of the pro






