tRPCttRPC
Powered by
the.boschT
tRPC•3y ago•
1 reply
the.bosch

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?
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Can someone explain to me how `deserialize` works in `input` of `transformer`?
PipetteBlowerPPipetteBlower / ❓-help
2y ago
Can I use the "Streaming with Server Components" strategy with tRPC?
Michael SchaufelbergerMMichael Schaufelberger / ❓-help
2y ago
Can someone explain MiddlewareFunction?
Wen ChenWWen Chen / ❓-help
3y ago