Settings

Theme

Show HN: GraphQL lib for real-time apps

github.com

68 points by tjmehta 7 years ago · 9 comments

Reader

zackify 7 years ago

What's the benefit of this, over using the websocket layer for Apollo?

  • tjmehtaOP 7 years ago

    Hello Zackify, author here. That’s a great question. I haven’t used Apollo in depth (since I started building this before it’s existance.) But Apollo is an opinionated GraphQL framework that includes the data-transport layer.

    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 :-)

  • paws 7 years ago
fulafel 7 years ago

What are the real-time properties of this?

chrisweekly 7 years ago

Looks awesome at first glance.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection