Docs
Launch GraphOS Studio

Introduction to Apollo Client


Apollo Client is a comprehensive state management library for JavaScript that enables you to manage both local and remote data with . Use it to fetch, cache, and modify application data, all while automatically updating your UI.

helps you structure code in an economical, predictable, and declarative way that's consistent with modern development practices. The core @apollo/client library provides built-in integration with React, and the larger Apollo community maintains integrations for other popular view layers.

Get started!

Features

  • Declarative data fetching: Write a and receive data without manually tracking loading states.
  • Excellent developer experience: Enjoy helpful tooling for TypeScript, Chrome / Firefox , and VS Code.
  • Designed for modern React: Take advantage of the latest React features, such as hooks.
  • Incrementally adoptable: Drop Apollo into any JavaScript app and incorporate it feature by feature.
  • Universally compatible: Use any build setup and any API.
  • Community driven: Share knowledge with thousands of developers in the community.

After you get started, check out the full ation in the navigation on the left.

We recommend the following articles in particular:

  • Queries and Mutations. These are the read and write s of .
  • Caching overview. 's normalized cache enables you to skip network requests entirely when data is already available locally.
  • Managing local state. provides APIs for managing both remote and local data, enabling you to consolidate all of your application's state.
  • Basic HTTP networking. Learn how to send custom headers and other authentication metadata in your queries.
  • Testing React components. Test your s without requiring a connection to a server.

Community integrations

This ation set focuses on React, but supports many other libraries and languages:

Next
Why Apollo Client?
Edit on GitHubEditForumsDiscord