How I can stop trpc to make calls when alt tabbing?

No description
2 Replies
Neto
Neto5mo ago
Window Focus Refetching | TanStack Query React Docs
If a user leaves your application and returns and the query data is stale, TanStack Query automatically requests fresh data for you in the background. You can disable this globally or per-query using the refetchOnWindowFocus option: Disabling Globally
Kenzo
KenzoOP5mo ago
I remember it was a simple setting, so it was not constantly fetching trpc when user focus and unfocus the screen
Want results from more Discord servers?
Add your server