Make store state update immediately on sign in
Closed this issue · 2 comments
TanayB11 commented
Currently, the store does not update right away after the sign in methods are called (verified issue for Google sign-in, not for email and password––although it’s probably the same)
Make sure that after the user signs in (this is probably asynchronous, so use actions), the state updates with the values of the user
object and also the UID, email, name, etc.
TanayB11 commented
Note: the signInWithPopup()
method is asynchronous.
TanayB11 commented
Fixed!