It would be great if react-query-auth provided some props for setting react-query options for this particular query loadUser(). The problem is, on every tab/window refocus abovementioned function is called and logically speaking that is not necessary. Shouldn' t be loadUser() called by the developer when user data is needed?
Hi @alan2207,
It would be great if react-query-auth provided some props for setting react-query options for this particular query
loadUser()
. The problem is, on every tab/window refocus abovementioned function is called and logically speaking that is not necessary. Shouldn' t beloadUser()
called by the developer when user data is needed?