Search
Setup for Free
TTC
Theo's Typesafe Cult
•
3y ago
tedward1
How to set default options on trpcs react query wrapper
Is there a way to i
.e
. disable refetchOnFocus by default other than setting it on each query
?
Theo's Typesafe Cult
Join
26,228
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
N
Neto
•
4/18/23, 11:20 PM
global configuration
X
Xenostar
•
4/20/23, 12:00 PM
Is this documented somewhere
? I never would have thought to put these options here
X
Xenostar
•
4/20/23, 12:05 PM
Nvm
, found it here
:
https://trpc.io/docs/nextjs/setup#createtrpcnext-options
Set up with Next.js | tRPC
Recommended file structure
Similar Threads
can anyone share an example on how to set react-query options with trpc like refetchInterval
TTC
Theo's Typesafe Cult / questions
3y ago
How to handle multiple react-query `Providers`?
TTC
Theo's Typesafe Cult / questions
3y ago