Theo's Typesafe CultTTC
Theo's Typesafe Cult3y ago
8 replies
Zion

Fetch from external API, Client or Server?

If I want to fetch from an external API (in my case, Spotify's api), should I do it from the client using tanstack query or make a trcp api that fetches it from there and then use my trpc api in the client? (using t3)
Was this page helpful?