Comment by @definn • Hey
It's ridiculous for me to jump on this question because my app is so dumb but yeah, I'm currently using for "useLogin". I'm bidding the data to a state to
Stats
Actions: 0
Comments: 1
Likes: 2
Mirrors: 0
Quotes: 0
Comments
Hey @lens/definn, thank you for taking the time nevertheless. The reason of my question is to evaluate edge-case usages of the `data` property from these hooks. So the one returned from the `useLogin()` call itself and not from its callback. The way you described it, let me think something like this (see image), is it the case? Nothing technically wrong with it, you could use `useSession` hook, which is designed exactly to address: *identify weather the user is logged in or not*. It's also reliable on page refresh. See reference docs: https://lens-protocol.github.io/lens-sdk/functions/_lens_protocol_react_web.Core.useSession.html