React Login with Google Firebase

There are many opinionated solutions for building a React Login with Google Firebase. I generally prefer an approach where the user isn’t shown the main UI until he is logged in. And if the user logs out, we immediately kick him back to the login screen. Luckily, this isn’t hard to do at all. Dependencies The only dependency you will need is the Firebase API. You can install this form the Node Package Manager.