Company
Date Published
Author
Guillaume Chau
Word count
735
Language
English
Hacker News points
None

Summary

The text discusses using Apollo GraphQL with VueJS. It introduces vue-apollo, an npm package that allows writing GraphQL queries in VueJS components while using Apollo under the hood. The package is installed along with the Apollo client and plugin for VueJS. With this setup, developers can fetch data from their GraphQL server directly within their components. They can also use GraphQL mutations to update their data. The example provided demonstrates how to use vue-apollo to query and mutate data, showcasing its capabilities in fetching data and updating local state automatically.