This course is no longer maintained and may be out-of-date. While it remains available for reference, its content may not reflect the latest updates, best practices, or supported features.
Apollo Subscription Component
The easiest way to bring live data to your UI is using the typed Subscription
component, just like we generated Query
and Mutation
components in the earlier sections. 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.
Did you find this page helpful?
Start with GraphQL on Hasura for Free
Build apps and APIs 10x faster
Built-in authorization and caching
8x more performant than hand-rolled APIs

