{"id":25948254,"url":"https://github.com/tannerlinsley/react-query","last_synced_at":"2025-03-04T11:01:49.574Z","repository":{"id":36979546,"uuid":"207645083","full_name":"TanStack/query","owner":"TanStack","description":"🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.","archived":false,"fork":false,"pushed_at":"2025-03-01T09:23:27.000Z","size":86105,"stargazers_count":43977,"open_issues_count":112,"forks_count":3044,"subscribers_count":205,"default_branch":"main","last_synced_at":"2025-03-01T18:02:42.787Z","etag":null,"topics":["async","cache","data","fetch","graphql","hooks","query","react","rest","solid","stale","stale-while-revalidate","svelte","typescript","update","vue"],"latest_commit_sha":null,"homepage":"https://tanstack.com/query","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TanStack.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["tannerlinsley","tkdodo"]}},"created_at":"2019-09-10T19:23:58.000Z","updated_at":"2025-03-01T17:41:08.000Z","dependencies_parsed_at":"2024-01-17T11:09:51.844Z","dependency_job_id":"d69eaac9-a202-47cb-a38a-4f9f259ca476","html_url":"https://github.com/TanStack/query","commit_stats":{"total_commits":3322,"total_committers":855,"mean_commits":"3.8853801169590643","dds":0.6619506321493076,"last_synced_commit":"3104854c1c8fff050daf031f9eeacbbc2acb4fba"},"previous_names":["tannerlinsley/react-query","tanstack/react-query"],"tags_count":1136,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Fquery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Fquery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Fquery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TanStack%2Fquery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TanStack","download_url":"https://codeload.github.com/TanStack/query/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241686830,"owners_count":20003112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async","cache","data","fetch","graphql","hooks","query","react","rest","solid","stale","stale-while-revalidate","svelte","typescript","update","vue"],"created_at":"2025-03-04T11:01:19.166Z","updated_at":"2025-03-04T11:01:49.521Z","avatar_url":"https://github.com/TanStack.png","language":"TypeScript","funding_links":["https://github.com/sponsors/tannerlinsley","https://github.com/sponsors/tkdodo","https://github.com/sponsors/tannerlinsley/"],"categories":["Uncategorized","React","API","Development","API [🔝](#readme)","React [🔝](#readme)","Data fetching","TypeScript","Packages","Tools","目录","JavaScript","React 相关","Stack","Explanation of each State Management","Tools 🧰","Component and Hook Libraries"],"sub_categories":["Uncategorized","State Management","Runner","Programming","Server-State management","Frontend","React-query","\u003ca id=\"other\"\u003e其他\u003c/a\u003e","Data fetching"],"readme":"\u003cimg referrerpolicy=\"no-referrer-when-downgrade\" src=\"https://static.scarf.sh/a.png?x-pxid=be2d8a11-9712-4c1d-9963-580b2d4fb133\" /\u003e\n\n![TanStack Query Header](https://github.com/TanStack/query/raw/main/media/repo-header.png)\n\nHooks for fetching, caching and updating asynchronous data in React, Solid, Svelte and Vue\n\n\u003ca href=\"https://twitter.com/intent/tweet?button_hashtag=TanStack\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"#TanStack\" src=\"https://img.shields.io/twitter/url?color=%2308a0e9\u0026label=%23TanStack\u0026style=social\u0026url=https%3A%2F%2Ftwitter.com%2Fintent%2Ftweet%3Fbutton_hashtag%3DTanStack\"\u003e\n\u003c/a\u003e\u003ca href=\"https://discord.com/invite/WrRKjPJ\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/badge/Discord-TanStack-%235865F2\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://www.npmjs.com/package/@tanstack/query-core\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/npm/dm/@tanstack/query-core.svg\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://bundlejs.com/?q=%40tanstack%2Freact-query\u0026config=%7B%22esbuild%22%3A%7B%22external%22%3A%5B%22react%22%2C%22react-dom%22%5D%7D%7D\u0026badge=\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://deno.bundlejs.com/?q=@tanstack/react-query\u0026config={%22esbuild%22:{%22external%22:[%22react%22,%22react-dom%22]}}\u0026badge=detailed\" /\u003e\n\u003c/a\u003e\u003ca href=\"#badge\"\u003e\n    \u003cimg alt=\"semantic-release\" src=\"https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg\"\u003e\n  \u003c/a\u003e\u003ca href=\"https://github.com/TanStack/query/discussions\"\u003e\n  \u003cimg alt=\"Join the discussion on Github\" src=\"https://img.shields.io/badge/Github%20Discussions%20%26%20Support-Chat%20now!-blue\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://bestofjs.org/projects/tanstack-query\"\u003e\u003cimg alt=\"Best of JS\" src=\"https://img.shields.io/endpoint?url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=TanStack%2Fquery%26since=daily\" /\u003e\u003c/a\u003e\u003ca href=\"https://github.com/TanStack/query/\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/github/stars/TanStack/query.svg?style=social\u0026label=Star\" /\u003e\n\u003c/a\u003e\u003ca href=\"https://twitter.com/tannerlinsley\" target=\"\\_parent\"\u003e\n  \u003cimg alt=\"\" src=\"https://img.shields.io/twitter/follow/tannerlinsley.svg?style=social\u0026label=Follow\" /\u003e\n\u003c/a\u003e \u003ca href=\"https://gitpod.io/from-referrer/\"\u003e\n  \u003cimg src=\"https://img.shields.io/badge/Gitpod-Ready--to--Code-blue?logo=gitpod\" alt=\"Gitpod Ready-to-Code\"/\u003e\n\u003c/a\u003e\n\nEnjoy this library? Try the entire [TanStack](https://tanstack.com)! [TanStack Table](https://github.com/TanStack/table), [TanStack Router](https://github.com/tanstack/router), [TanStack Virtual](https://github.com/tanstack/virtual), [React Charts](https://github.com/TanStack/react-charts), [React Ranger](https://github.com/TanStack/ranger)\n\n## Visit [tanstack.com/query](https://tanstack.com/query) for docs, guides, API and more!\n\nStill on **React Query v2**? No problem! Check out the v2 docs here: https://github.com/TanStack/query/tree/2.x/docs/src/pages/docs.\u003cbr /\u003e\nStill on **React Query v3**? No problem! Check out the v3 docs here: https://tanstack.com/query/v3/docs/.\u003cbr /\u003e\nStill on **React Query v4**? No problem! Check out the v4 docs here: https://tanstack.com/query/v4/docs/.\n\n## Quick Features\n\n- Transport/protocol/backend agnostic data fetching (REST, GraphQL, promises, whatever!)\n- Auto Caching + Refetching (stale-while-revalidate, Window Refocus, Polling/Realtime)\n- Parallel + Dependent Queries\n- Mutations + Reactive Query Refetching\n- Multi-layer Cache + Automatic Garbage Collection\n- Paginated + Cursor-based Queries\n- Load-More + Infinite Scroll Queries w/ Scroll Recovery\n- Request Cancellation\n- [React Suspense](https://react.dev/reference/react/Suspense) + Fetch-As-You-Render Query Prefetching\n- Dedicated Devtools\n\n## Contributing\n\nView the contributing guidelines [here](/CONTRIBUTING.md)\n\n### [Become a Sponsor!](https://github.com/sponsors/tannerlinsley/)\n\n\u003c!-- Use the force, Luke! --\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannerlinsley%2Freact-query","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftannerlinsley%2Freact-query","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftannerlinsley%2Freact-query/lists"}