TRPC QueryClient access in ct3a?
I want to disable windows focus refetching globally like here: https://tanstack.com/query/v4/docs/guides/window-focus-refetching
How do I access the queryclient in the scaffolded trpc in ct3a?
How do I access the queryclient in the scaffolded trpc in ct3a?
If a user leaves your application and returns to stale data, React Query automatically requests fresh data for you in the background. You can disable this globally or per-query using the refetchOnWindowFocus option:
Disabling Globally
Disabling Globally

