Do we need a fetcher like SWR with the t3 stack

It isn't mention in the documentation so I was wondering, do we need a fetcher with tRPC ? It's my first time using this stack, but in my previous experiences, not using a fetcher became a nightmare. I don't want to send request I don't need to. So how does it work with this stack, what is the good practice ?
Solution:
trpc already wraps around tanstack query, so you don't need swr with it
Jump to solution
3 Replies
Solution
cornflour
cornflour2y ago
trpc already wraps around tanstack query, so you don't need swr with it
JulieCezar
JulieCezar2y ago
and trpc uses react query under the hood, or tanstack query now, w/e you want to call it
Romain
RomainOP2y ago
that's what I was looking for, thanks !
Want results from more Discord servers?
Add your server