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 useMaybeDoormanUser instead.
Higher order component
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.