auth-js icon indicating copy to clipboard operation
auth-js copied to clipboard

IMPROVE SUPABASE by adding this feature.

Open Luc069 opened this issue 2 years ago • 2 comments

This feature wil make supabase 10 times better. Make onAuthStateChange better, so it can run even if there is not an event going on. For example: "When page is loaded (in react: useEffect), run the function even if there is no event."

image

Luc069 avatar May 26 '22 20:05 Luc069

+1 On this. Not so nice having to write custom logic to get the user on page load. Firebase supports this

sannajammeh avatar Jun 06 '22 11:06 sannajammeh

@supabase/auth-team Assigning the PIC of the Auth team to take care of this.

monicakh avatar Jul 13 '22 13:07 monicakh

Hey we're going to be considering a change in the API for the next major version. Thank you for the feedback!

hf avatar Dec 30 '22 18:12 hf