# trojanowski/react-apollo-hooks

Use Apollo Client as React hooks

Repository: https://github.com/trojanowski/react-apollo-hooks
Canonical: https://ross.abutalabs.com/products/react-apollo-hooks
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2022-12-09T15:40:06+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2865, "days_push": 1363, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2386, forks 104 (observed 2026-08-28T04:06:42.645900+00:00)

## What it is
A React hooks library for using Apollo Client with useQuery, useMutation, and useSubscription hooks. It is deprecated in favor of the official @apollo/react-hooks package.

## Use cases
- query graphql data from react components with hooks
- run graphql mutations in react function components
- subscribe to graphql subscriptions with react hooks
- use apollo client without higher-order components
- fetch data with suspense in react

## When to choose
- maintaining a legacy react app already using react-apollo-hooks
- learning how hooks-based graphql clients evolved

## When to avoid
- starting a new react graphql project - use @apollo/client instead
- needing maintained or supported software
- using react 18 or newer

## Facets
- artifact type: library
- maturity: abandoned
- function: graphql-client, state-management, frontend-framework
- domain: frontend, web-development, apis
- platform: browser
- tags: react-hooks, apollo-client, deprecated, graphql, typescript, nodejs, web-server

## Member repositories
- trojanowski/react-apollo-hooks (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:42.645900+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:34:37.119952+00:00, confidence not recorded.
  - readme: https://github.com/trojanowski/react-apollo-hooks (fetched 2026-08-28T04:06:42.645900+00:00, sha 69bf8f7230a2)
  - registry_npm: https://registry.npmjs.org/react-apollo-hooks (fetched 2026-08-29T10:15:42.053836+00:00, sha d7b94f3e7734)
- Data as of 2026-08-30T08:39:29.467469+00:00.
