firebase auth in react.
I've wrapped my auth function
setPersistence(firebase.auth.Auth.Persistence.SESSION)
I want to set initial state to whatever firebase provides on load, how do I achieve this?
setIsLoggedIn(firebase.auth.Auth.Persistence.SESSION) ?
Обсуждают сегодня