jadeocr/jadeocr

Make store state update immediately on sign in

Closed this issue · 2 comments

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.

Note: the signInWithPopup() method is asynchronous.

Fixed!