Company
Date Published
Author
Peggy Rayzis
Word count
957
Language
English
Hacker News points
None

Summary

AWS AppSync is a new GraphQL service launched by Amazon at reInvent, featuring real-time updates and built-in offline support. It's managed in the AWS console and aggregates data from other AWS products like ElasticSearch and DynamoDB. The AppSync Client is based on Apollo Client 2.0, which enables developers to build complex features quickly by describing their data requirements. Offline support is achieved through a custom Apollo Link that uses Redux store and redux-offline for persistence, while real-time data is powered by GraphQL subscriptions using MQTT as the transport layer. The service also has a native client compatible with JavaScript and native platforms written in Swift, generated using Apollo Codegen. The AWS team's use of Apollo Client 2.0 and Apollo Link demonstrates the extensibility of the Apollo platform, inspiring developers to experiment with personalizing their GraphQL client.