News for hackers. Stuff that matters.
Re:Full-Stack TypeScript with tRPC and React by vosper on Tuesday March 14, 2023 @06:15PM (#35159788)
> One big difference in philosophy here is that tRPC is not designed to be used for cases where you have third party consumers. It's built for situations where you control both ends. (That said, you can use trpc-openapi for the endpoints that are public)

I'm a happy tRPC user, and this is my use case. Our web application has no client other than our web frontend. I can't see a situation when it would (and I would bet this is true for most web applications), so I am very happy with how tRPC has worked out.

I did recently create a more limited data API, and for that I used express-zod-api [0] which I like very much.

There are no comments on this comment yet.