How to get the active session synchronously in v2.x
In the previous supabase-js versions you could call
How can this be achieved in v2? The only thing I see is
supabase.auth.session() and would get the current session immediately which is good, since it allows to update the UI directly.How can this be achieved in v2? The only thing I see is
supabase.auth.getSession() and it's async.