# react-query

> Hooks for managing, caching and syncing asynchronous and remote data in React

Latest version **3.39.3** (published 2023-01-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-query
pnpm add react-query
yarn add react-query
bun add react-query
```

## Health

**Score 55/100 (C)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities; high maintenance score; high quality score; popular repo; extremely popular.

Warnings: low downloads.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.39.3 |
| Published | 2023-01-25 |
| First published | 2014-08-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 2.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 50334 |
| Author | tannerlinsley |
| Maintainers | tannerlinsley, tkdodo |

## Links

- npm: https://www.npmjs.com/package/react-query
- Repository: https://github.com/tannerlinsley/react-query
- Homepage: https://github.com/tannerlinsley/react-query#readme
- Issues: https://github.com/tannerlinsley/react-query/issues
- Funding: https://github.com/sponsors/tannerlinsley
- npm.io page: https://npm.io/package/react-query

## Dependencies (3)

- [match-sorter](https://npm.io/package/match-sorter.md) ^6.0.2
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.5.5
- [broadcast-channel](https://npm.io/package/broadcast-channel.md) ^3.4.1

## Recent versions

- 3.39.3 (latest) — 2023-01-25
- 4.0.0-beta.23 (beta) — 2022-06-06
- 4.0.0-alpha.24 (alpha) — 2022-04-02
- 2.26.4 (release-2.x) — 2020-12-07
- 2.24.0-next.8 (next) — 2020-10-05
- 2.5.7-tsnext.1 (tsnext) — 2020-07-29
- 0.0.0 (ts-next) — 2020-07-29
- 1.5.10 (release-1.x) — 2020-06-28
- 0.3.27-test.0 (test) — 2020-02-17
- 4.0.0 — 2022-07-18
- 3.39.2 — 2022-07-15
- 4.0.0-beta.22 — 2022-06-06
- 4.0.0-beta.21 — 2022-06-05
- 4.0.0-beta.20 — 2022-06-03
- 4.0.0-beta.19 — 2022-05-30
- … 474 more at https://npm.io/package/react-query/versions

## README

<img src="https://static.scarf.sh/a.png?x-pxid=be2d8a11-9712-4c1d-9963-580b2d4fb133" />

![React Query Header](https://github.com/tannerlinsley/react-query/raw/main/media/repo-dark.png)

## Note

You're looking at the v3 version of react-query. Starting with v4, react-query is now available as [@tanstack/react-query](https://www.npmjs.com/package/@tanstack/react-query)

Find the docs at https://tanstack.com/query/latest

<!-- Use the force, Luke -->

---
_Source: https://npm.io/package/react-query · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
