News for hackers. Stuff that matters.
Re:Full-Stack TypeScript with tRPC and React by azangru on Tuesday March 14, 2023 @04:47PM (#35158287)
> What does this get me that gRPC + Protobuf to generate a Typescript client wouldn't?

Have you tried running gRPC in the browser? How was the experience?

Re:Full-Stack TypeScript with tRPC and React by ctvo on Tuesday March 14, 2023 @06:27PM (#35159970)
I have. It wasn't great, but it worked, and that was years ago. Is that the reason, though? tRPC generates a nicer client when targeting the browser?
Re:Full-Stack TypeScript with tRPC and React by azangru on Wednesday March 15, 2023 @03:56AM (#35165196)
Yes, this is my understanding. If the browser client and the server are both written in typescript, tRPC has a very attractive story of bridging the two. No protobufs though; so whatever performance wins gRPC brings, are absent from the tRPC story.