Quantcast
Channel: React Native - Redirect logged in Firebase user to Home Component - Stack Overflow
Browsing latest articles
Browse All 2 View Live

Answer by Konstantin Kuznetsov for React Native - Redirect logged in Firebase...

First, in your login component you are checking currentUser in synchronous way, but it might be not yet available at componentWillMount. You can should get in asynchronously:...

View Article



React Native - Redirect logged in Firebase user to Home Component

My goal is to redirect the user to the Home component if the user is already logged in. I am able to login a user and redirect them to Home only if _logInUser() is called. However, once redirected to...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images