I think you can use both[1]; gRPC doesn't compete with GraphQL really. [1] https://github.com/google/rejoiner
gRPC is protocol agnostic. You can use any wire type with it, like JSON. There's even a codec for thrift messages on gRPC called grift.
Websockets have head-of-line blocking, which is one of the main reasons HTTP/2 exists. HTTP/2 (i.e. gRPC) is a bidirectional streaming protocol, and you can use the fetch API in JS to use it. The reason gRPC-web exists…
I think you can use both[1]; gRPC doesn't compete with GraphQL really. [1] https://github.com/google/rejoiner
gRPC is protocol agnostic. You can use any wire type with it, like JSON. There's even a codec for thrift messages on gRPC called grift.
Websockets have head-of-line blocking, which is one of the main reasons HTTP/2 exists. HTTP/2 (i.e. gRPC) is a bidirectional streaming protocol, and you can use the fetch API in JS to use it. The reason gRPC-web exists…