Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
5 replies
Romain

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
Was this page helpful?