global react query config for trpc
Hi everyone, I keep having to add 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.
3 Replies
Usage with Next.js | tRPC
If you're using tRPC in a new project, consider using one of the example projects as a starting point or for reference: tRPC Example Projects
queryClientConfig
is the property
you'd do
I think that's the utils/trpc
file if you're using create-t3-app
Ah perfect…!! Thanks a bunch @ryanagillie 🙏🙏