McDusty
McDusty
TTCTheo's Typesafe Cult
Created by McDusty on 1/4/2023 in #questions
Best Practices for 3rd party api call
In my case I have a call to a goecode endpoint to turn and address to coordinates.
But I will have some cloudinary call I will want to make soon. Would it be best to funnel that call through trpc and use node fetch to make the call? Or would it make more sense to use react query on the front end and have the user make the call? Currently I am doing a simple fetch on the front end triggered by a button click. Thought I was see if there is a general best practice with T3.
11 replies