Sign Out with React and Firebase

This lesson is the final step in building our application's authentication process.

We'll cover the following

To complete the authentication loop, we have to implement the sign-out component. The component is just a button that appears within the Navigation component. Since we can use the previously-defined authentication API to sign out a user, passing functionality to a button in a React component is fairly straightforward.

The Sign-Out Button

Implement the SignOutButton component in the src/components/SignOut/index.js file:

Get hands-on with 1200+ tech skills courses.