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 ?
3 Replies
Solution
trpc already wraps around tanstack query, so you don't need swr with it
and trpc uses react query under the hood, or tanstack query now, w/e you want to call it
that's what I was looking for, thanks !