Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
TRPC QueryClient access in ct3a? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
3 replies
cyremur
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
?
Window Focus Refetching | TanStack Query Docs
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
Theo's Typesafe Cult
Join
26,564
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Customize QueryClient for TRPC?
TTC
Theo's Typesafe Cult / questions
4y ago
Selfhostable object storage for ct3a (next, trpc)
TTC
Theo's Typesafe Cult / questions
3y ago
CT3A tRPC make List of dynamic fetches
TTC
Theo's Typesafe Cult / questions
4y ago