Apollo useSubscription React hook

The easiest way to bring live data to your UI is using the useSubscription React hook from Apollo React-Hooks. This lets you render the stream of data from your service directly within your render function of your component! One thing to note, subscriptions are just listeners, they don’t request any data when first connected, but only open up a connection to get new data.


Get Started with GraphQL Now

Hasura Cloud gives you a fully managed, production ready GraphQL API as a service to help you build modern apps faster.