-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I have Persistent state #8
Comments
Please provide more information on your environment. |
this is how I use the component:
And in component class:
|
Do you even check |
actually I am using redux to check the status of logged in user, and in every successful login I do update the state. |
Please read the documentation on how to determine the state of a user: https://firebase.google.com/docs/auth/web/manage-users |
Thanks,
|
For anyone who stumbles upon this, maybe this helps. |
How can I have Persistent State?
Now I have to do authenticate after every page refresh.
I tried to use firebase docs but it doesn't work for me.
https://firebase.google.com/docs/auth/web/auth-state-persistence?authuser=0
The text was updated successfully, but these errors were encountered: