Search
Star
Feedback
Setup for Free
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
How to pass TRPC (React Query) refetch() as prop to component in TypeScript? - Theo's Typesafe Cult
TTC
Theo's Typesafe Cult
•
4y ago
•
9 replies
jack
How to pass TRPC (React Query) refetch() as prop to component in TypeScript?
Trying to pass the function as prop
, but I can
't figure out how to get the type definition from it
. It
's super long and I can
't copy it from VSCode hover lol
Theo's Typesafe Cult
Join
26,131
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Can I pass refetch as a prop?
TTC
Theo's Typesafe Cult / questions
3y ago
Filtering in React-Query & Trpc?
TTC
Theo's Typesafe Cult / questions
4y ago
How to pass trpc useQuery into a component
TTC
Theo's Typesafe Cult / questions
10mo ago
How to pass in a React icon as a prop and style it with Tailwind
TTC
Theo's Typesafe Cult / questions
4y ago