Last updated
Last updated
For a full walkthrough, see .
This hook should only be used on screens that show up after a user has signed in. If you need to access the user on screens that might show up before someone has signed in, see instead.
There is an equivalent HOC, withDoormanUser
, that has the exact same API as useDoormanUser
. If you wrap your component with it, you can access it through the user
prop.
React hook that returns the current firebase Auth user.