Can someone explain to me the use of tRPC in server components?
I can really see the need for tRPC in client components but can someone explain to me how you would go about it in server components?
In server components I can directly retrieve data from my database with Drizzle or Prisma. If I'll use tRPC in the server component will it just make a request to the server where it already is at that moment through the API or is tRPC able to handle this and run the code without making an extra call?
0 Replies