As opposed to useAuthState in react-firebase-hooks
(which doesn't work with gatsby builds),
this is designed to work with gatsby-plugin-firebase
.
Requires React
and firebase
Usage example:
import firebase from "gatsby-plugin-firebase"
import useAuthState from ...