News for hackers. Stuff that matters.
Re:REST vs GraphQL vs gRPC by sshb on Monday March 15, 2021 @11:08AM (#26466897)
I've recently stumbled upon WebRPC https://github.com/webrpc/webrpc

It solves gRPC's inability to work nicely with web browsers.

Re:REST vs GraphQL vs gRPC by alexhutcheson on Monday March 15, 2021 @11:22AM (#26467061)
Are you familiar with gRPC-web?

https://github.com/grpc/grpc-web

Re:REST vs GraphQL vs gRPC by sshb on Monday March 15, 2021 @11:38AM (#26467259)
Yes, it bloats js bundle size quite a lot due to protobuf.
Re:REST vs GraphQL vs gRPC by Sean-Der on Monday March 15, 2021 @11:41AM (#26467297)
https://github.com/jsmouret/grpc-over-webrtc is another way to get into the browser.

It's nice that you don't have to do any translation. Just gRPC in/out of the browser.