Customize QueryClient for TRPC?

👋 I’m using T3 for a project. Is it possible to pass a custom QueryClient to TRPC? I don’t like some of the defaults of react-query refetch logic and would like to set my preferences globally rather than per query
3 Replies
cje
cje•2y ago
yes, look in api.ts you can either customize individual things, or pass an entire queryclient
cje
cje•2y ago
dinislam
dinislamOP•2y ago
i love you @cje
Want results from more Discord servers?
Add your server