You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So basically I have a backend but not using tRPC. In client, I want to use Next and tRPC, should I fetch it directly like normal or through procedure of tRPC?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So basically I have a backend but not using tRPC. In client, I want to use Next and tRPC, should I fetch it directly like normal or through procedure of tRPC?
I can see NextJS documentation using API route:
How about procedure (same as API route), is that normal to call an Backend API within an Frontend API?
Beta Was this translation helpful? Give feedback.
All reactions