react-query-auth icon indicating copy to clipboard operation
react-query-auth copied to clipboard

Setting up default react-query options for loadUser() query

Open morismoze opened this issue 3 years ago • 0 comments

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?

morismoze avatar Jul 23 '22 20:07 morismoze