7 ms·
> 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?
by azangru 4y ago
> 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?
- ctvo 4y agoI 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?
- azangru 4y agoYes, 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.