{"library":"react-query","type":"library","category":null,"description":"react-query is a robust and widely adopted library for managing, caching, and synchronizing asynchronous data within React applications. This registry entry refers to version 3.x.x of the `react-query` package, with 3.39.3 being the latest patch provided. Since late 2021, active development and new major versions (v4, v5) have transitioned to the `@tanstack/react-query` package as part of a broader monorepo rebrand. Consequently, the `react-query` package (v3) is now in a maintenance-only phase, receiving critical bug fixes but no new features. Its key differentiators include declarative data fetching via hooks (`useQuery`, `useMutation`), automatic background refetching, efficient data caching with configurable stale-time and cache-time, optimistic updates, and a powerful devtools extension. It significantly reduces boilerplate for data management compared to traditional state management solutions for remote data.","language":"javascript","status":"renamed","version":"3.39.3","tags":["javascript","typescript"],"install":[{"cmd":"npm install react-query","imports":["import { useQuery } from 'react-query'","import { useMutation } from 'react-query'","import { QueryClient } from 'react-query'","import { QueryClientProvider } from 'react-query'"]},{"cmd":"yarn add react-query","imports":[]},{"cmd":"pnpm add react-query","imports":[]}],"homepage":"https://tanstack.com/query","github":"https://github.com/tannerlinsley/react-query","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-query","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-query/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Tue Jul 21","install_tag":null}}