# amplitude/redux-query

A library for managing network state in Redux

Repository: https://github.com/amplitude/redux-query
Canonical: https://ross.abutalabs.com/products/redux-query
Homepage: https://amplitude.github.io/redux-query
Language: JavaScript
License: NOASSERTION
License Family: other
Topics: redux, middleware, react, redux-query, fetch, request, amplitude, hacktoberfest
Last push: 2023-12-12T17:37:54+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3492, "days_push": 995, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1098, forks 66 (observed 2026-08-28T04:03:34.944621+00:00)

## What it is
redux-query is a JavaScript library for managing network request state in Redux applications, providing middleware, actions, selectors, and reducers for querying and mutations. It includes optional React bindings (redux-query-react) with hooks like useRequest and useMutation for colocating data dependencies with components.

## Use cases
- manage api request state in redux
- fetch rest data with react and redux
- optimistic updates for mutations
- cancel in-flight requests in redux apps
- colocate data fetching with react components
- cache server responses in redux store

## When to choose
- your app already uses Redux and you want network state managed idiomatically
- you need optimistic updates and request cancellation with plain Redux patterns
- you want React hooks or HOCs tied to component lifecycle for data fetching

## When to avoid
- you use modern server-state libraries like React Query or RTK Query instead of Redux
- your app doesn't use Redux
- you need GraphQL tooling rather than REST fetching

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, middleware, state-management, caching
- domain: web-development, frontend, apis
- platform: browser
- tags: redux, react, data-fetching, optimistic-updates, rest, nodejs, javascript

## Member repositories
- amplitude/redux-query (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.944621+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-30T06:46:14.656248+00:00, confidence not recorded.
  - readme: https://github.com/amplitude/redux-query (fetched 2026-08-28T04:03:34.944621+00:00, sha 1227415e36f4)
  - homepage: https://amplitude.github.io/redux-query (fetched 2026-08-29T12:49:23.530887+00:00, sha e562321928a3)
  - registry_npm: https://registry.npmjs.org/redux-query (fetched 2026-08-29T12:49:23.539873+00:00, sha 95795cbbe3f2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
