react-query-auth
react-query-auth copied to clipboard
Setting up default react-query options for loadUser() query
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 be loadUser() called by the developer when user data is needed?