Chizi Victor
Chizi Victor
TTCTheo's Typesafe Cult
Created by Chizi Victor on 11/30/2022 in #questions
global react query config for trpc
Hi everyone, I keep having to add
{ refetchOnWindowFocus: false }
{ refetchOnWindowFocus: false }
to all my client queries... I can't seem to find a way to disable it globally in tRPC... Can someone please point me in the right direction of where the global queryClient config options are? Thanks.
7 replies