{"id":13406314,"url":"https://github.com/TanStack/query","last_synced_at":"2025-03-14T10:33:00.703Z","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":"2024-06-19T16:32:25.000Z","size":63786,"stargazers_count":40605,"open_issues_count":81,"forks_count":2738,"subscribers_count":200,"default_branch":"main","last_synced_at":"2024-06-20T05:47:50.031Z","etag":null,"topics":["async","cache","data","fetch","graphql","hooks","query","react","rest","stale","stale-while-revalidate","update"],"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":"2024-08-26T19:21:04.158Z","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":1920,"total_committers":573,"mean_commits":3.350785340314136,"dds":0.6927083333333333,"last_synced_commit":"b369b6c9fd289b66646c53b793785c9c0899497d"},"previous_names":["tannerlinsley/react-query","tanstack/react-query"],"tags_count":1059,"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":220454009,"owners_count":16649690,"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","stale","stale-while-revalidate","update"],"created_at":"2024-07-30T19:02:26.930Z","updated_at":"2025-03-14T10:33:00.695Z","avatar_url":"https://github.com/TanStack.png","language":"TypeScript","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","funding_links":["https://github.com/sponsors/tannerlinsley","https://github.com/sponsors/tkdodo","https://github.com/sponsors/tannerlinsley/"],"categories":["Data Fetching","Code Design","TypeScript","前端开发框架及项目","HarmonyOS","语言资源库","vue","Miscellaneous","Uncategorized","State Management","📖 Categories"],"sub_categories":["Communication with server","其他_文本生成、文本对话","Windows Manager","typescript","Syntax highlighting","Uncategorized","Other State Libraries","Hooks \u0026 Data Fetching","Graphics \u0026 Drawing"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTanStack%2Fquery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTanStack%2Fquery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTanStack%2Fquery/lists"}