Is it possible to use tRPC as *just* a fullstack API server and client?

I don't need the features that react-query brings, I just need to be able to make my usual rest endpoint calls. My app isn't there yet, and would like to learn that when I eventually use it.
5 Replies
scinorandex
scinorandexOP2y ago
if it isn't, then I'm starting to regret the time and effort I took into migrating the backend, though small, to trpc
Neto
Neto2y ago
You can Just look into the vanilla client Is the trpc client without the react query
scinorandex
scinorandexOP2y ago
OK thanks The docs didn't really make this clear, so thank you
BarisP
BarisP2y ago
That's what's it's designed for. If I understand you correctly. If you are not going to utilize trpc to fetch data from your own next endpoint, please do. Also you can check trpc open-api if you are planning to consume your api from other apps.
scinorandex
scinorandexOP2y ago
I know what it was meant for, I just didn't want to use the additional features brought on by react-query I had a dumb fulsltack datafetching solution, but it is dumb, so I'm moving to trpc I was worried about having to use and learn react-query along side but, but it is not the case
Want results from more Discord servers?
Add your server