-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Closed
Description
firebase v2 has the Firebase.getAuth() that synchronously retrieves the current user.
firebase v3 has no longer has that method, but comes with firebase.auth().currentUser
which is not synchronous (it is null on page load). This makes it hard to perform logic on page load -- do I redirect the user to the login page, or is the user is actually logged in?
What is the equivalent of synchronous getAuth() in v3?
Metadata
Metadata
Assignees
Labels
No labels