I was using useAuthState() hook for the authentication from 'react-firebase-hooks/auth'. I was curious to know how is it working. Is it storing cookies and clearing it once logged out or is it requesting the firebase everytime ? if this is the case how does it get the reference that a particular person is logged in i mean what parameter(like uid, email) is it passing in the request and how is it getting it.
https://i.stack.imgur.com/XiCQp.jpg
This image is the network part it is requesting with uid but where is it storing??