React Firebase Hooks
//installation
npm install --save react-firebase-hooks
yarn add react-firebase-hooks
// getting user
const [user, loading, error] = useAuthState(auth, options);
@iinaamasum