qmetrics.net

Apollo Client

GraphQL state management client for JavaScript and TypeScript apps

Apollo Client screenshot

Apollo Client fetches, caches, and updates GraphQL data in web apps, with first-class React support and hooks for queries, mutations, and local state.

Overview

Apollo Client is a GraphQL client and state management library for JavaScript and TypeScript. It coordinates remote GraphQL data with local application state and keeps the UI in sync when cached results change.

Declarative queries and mutations reduce hand-rolled loading logic. A normalized cache stores entities by identity so repeated requests can reuse data already on the device. Tooling includes TypeScript types, browser devtools, and editor integrations.

The core package ships with React integration, and community packages cover Vue, Angular, Svelte, Solid, and other view layers. It works against any GraphQL API and supports incremental adoption inside existing apps.

Documented capabilities include persisted queries, field-level defer for incremental responses, and subscription-based live updates, including when used with Apollo GraphOS routers or other compatible servers. Guides also cover fragments, local-only fields, auth headers, and component testing without a live backend.

Apollo publishes companion platform tools such as Apollo Router and GraphOS, but this client library itself is embedded in front-end or mobile code rather than run as a hosted service.

Key features

  • Normalized GraphQL response cache
  • React hooks and Suspense support
  • TypeScript-first APIs
  • Local and remote state together
  • Query, mutation, and fragment helpers
  • Defer and subscription client support
  • Browser devtools integration
  • Framework integrations beyond React

Use cases

  • React apps on GraphQL backends
  • Cached dashboard data fetching
  • Real-time GraphQL subscriptions
  • Incremental UI with deferred fields
  • Type-safe API-driven front ends

Tags

Similar software

axios

Promise-based HTTP client for browser and Node.js

Axios is a promise-based HTTP client for JavaScript environments in the browser and Node.js. It supports common request methods, configurable defaults, and interceptors for request and response handling.

★ 109.5k⟳ 2 days agoMIT

FastAPI

Python web framework for building APIs with type hints

FastAPI is a Python web framework for building APIs using standard type hints. It builds on Starlette and Pydantic and generates interactive OpenAPI documentation for the endpoints you define.

★ 105.1k⟳ 9 days agoMIT

OmniRoute

OpenAI-compatible AI gateway with provider routing

OmniRoute exposes one endpoint that routes chat requests across many LLM providers with quota-aware fallback and compression.

★ 90.7k⟳ todayMIT

Hoppscotch

Web, desktop and CLI API development ecosystem

Hoppscotch lets developers send HTTP, WebSocket, GraphQL, and related API requests from a lightweight client. Collections, environments, teams, and sync help organize testing across devices.

★ 81k⟳ 5 days agoMIT
Open Source Alternative to:Postman

NestJS

Progressive TypeScript framework for Node.js backends

Nest organizes Node server apps with modules, dependency injection, and first-party packages for auth, data, queues, and observability.

★ 77.2k⟳ todayMIT

JSON Server

Zero-code mock REST API from JSON data files

JSON Server turns a JSON or JSON5 database file into a REST API for local prototyping. It supports filtering, sorting, pagination, embedding relations, and static assets.

★ 75.7k⟳ 8 months agoMIT