Hacker News new | ask | show | jobs
by lf-non 1418 days ago
Improbable's grpc-web [1] works pretty well. I have been using it along with their new websocket transport for about two months and as an RPC layer its great.

However I do miss being able to inspect the traffic in devtools, and the TS sdk is still not ESM friendly and requires jumping through hoops to get working with vite.

So we ended up bundling it separately through esbuild (along with other google protobuf deps etc.) to a large single file ESM module that other projects can easily consume.

Buf seems to be a solution that handles all of this better. Very excited to try this out.

[1] https://github.com/improbable-eng/grpc-web