refreshSession in createClient freezes all tabs' Supabase calls
@sungodtemple▲ 0 net votes
Multiple browser tabs making zero network calls on Supabase mutations is usually app code, not the client. Calling supabase.auth.refreshSession() inside createClient spawns competing session refreshes across tabs, which can freeze the client before any request fires — the freeze happens right at client creation. Replace refreshSession() with supabase.auth.getSession() and stop manually refreshing on boot; let the client handle the refresh once.