/
Launch Apollo Studio

Introduction to Apollo Client


Apollo Client 3.0 is officially released. If you are currently using a previous version of Apollo Client, we recommend migrating.

For documentation of previous versions, use the version switcher in the upper left.

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

Apollo Client 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 query and receive data without manually tracking loading states.
  • Excellent developer experience: Enjoy helpful tooling for TypeScript, Chrome DevTools, 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 seamlessly.
  • Universally compatible: Use any build setup and any GraphQL API.
  • Community driven: Share knowledge with thousands of developers, thanks to our active open source community.

Explore the docs

After you get started, check out the full Apollo Client docs, organized into the following sections on the left:

  • Fetching: Execute queries and other GraphQL operations on your server. Definitely read Queries if you haven't yet.
  • Caching: Query your cache directly and make local-only modifications to your data.
  • Local State: Manage both local and remotely fetched state with a single API.
  • Development & testing: Learn about Apollo Client's language and tooling support.
  • Performance: Take advantage of advanced features to optimize performance and user experience.
  • Integrations: Explore support for view layers besides React.
  • Networking: Learn how Apollo Client communicates over the network by default, along with how to customize this behavior.
  • API: Consult the complete API reference for Apollo Client, its React APIs, and additional packages.

Community integrations

This site's documentation focuses on React, but Apollo Client supports many other libraries and languages:

Edit on GitHub