Show HN: GraphQL lib for real-time apps
github.com
Show HN: GraphQL lib for real-time apps
1–10 of 10 posts
Re: Show HN: GraphQL lib for real-time apps
#2Re: Show HN: GraphQL lib for real-time apps
#3What's the benefit of this, over using the websocket layer for Apollo?
https://github.com/tjmehta/primus-graphql/blob/master/packag...
https://github.com/prisma/graphql-yoga/blob/master/package.j...
Re: Show HN: GraphQL lib for real-time apps
#4What's the benefit of this, over using the websocket layer for Apollo?
Well, to answer you could take a look at their dependencies: https://github.com/tjmehta/primus-graphql/blob/master/packag... https://github.com/prisma/graphql-yoga/blob/master/package.j...
Re: Show HN: GraphQL lib for real-time apps
#5What's the benefit of this, over using the websocket layer for Apollo?
Well, to answer you could take a look at their dependencies: https://github.com/tjmehta/primus-graphql/blob/master/packag... https://github.com/prisma/graphql-yoga/blob/master/package.j...
Re: Show HN: GraphQL lib for real-time apps
#6Earlier quoted context omitted.
Well, to answer you could take a look at their dependencies: https://github.com/tjmehta/primus-graphql/blob/master/packag... https://github.com/prisma/graphql-yoga/blob/master/package.j...
That's primus and relay. Question was about Apollo
Re: Show HN: GraphQL lib for real-time apps
#7Re: Show HN: GraphQL lib for real-time apps
#8Re: Show HN: GraphQL lib for real-time apps
#9What are the real-time properties of this?
Re: Show HN: GraphQL lib for real-time apps
#10What's the benefit of this, over using the websocket layer for Apollo?
Primus-GraphQL is less opinionated and just provides a GraphQL data-transport layer (client and server). Primus-GraphQL also offers a network-layer for Relay (an opinionated GraphQL client framework that works well with React).
Since it is built on top of Primus it allows flexibility with data-protocol layer - from socket.io, socksjs, websockets, or even a custom implementation.
Hope that answers your question. Let me know if you have more :-)