0
Fork 0
mirror of https://github.com/TanStack/query.git synced 2026-11-16 22:50:20 +00:00
🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query. https://tanstack.com/query
  • TypeScript 97.9%
  • JavaScript 1.3%
  • Svelte 0.7%
Find a file
Scott Cooper fdae2ce4e5
ref(query-core): Reuse refetch interval resolver (#11332)
* perf(query-core): Reuse refetch interval resolver

Reuse the generic query option resolver added in #11302 for refetch intervals. Keeps callback and nullish fallback behavior while dropping the duplicate branch.

Co-Authored-By: OpenAI Codex <noreply@openai.com>

* test(query-core): Remove redundant interval test

Drop the cast-heavy timer spy coverage and keep the existing behavioral tests plus the disabled observer timer assertion.

Co-authored-by: OpenAI Codex <noreply@openai.com>

* ref: another instance for resolveQueryValue

---------

Co-authored-by: OpenAI Codex <noreply@openai.com>
Co-authored-by: Dominik Dorfmeister 🔮 <office@dorfmeister.cc>
History 2026-08-30 20:52:14 +02:00
.changeset ref(query-core): Reuse refetch interval resolver (#11332) 2026-08-30 20:52:14 +02:00
.github docs: clarify contribution guidelines (#11280) 2026-08-25 07:18:51 +02:00
.nx/workflows ci: switch to nxCloudId (#9697) 2025-09-27 12:50:53 +10:00
docs docs(preact-query): define 'App' before 'ErrorBoundary' in 'QueryErrorResetBoundary' example (#11338) 2026-08-31 02:52:42 +09:00
examples ci: Version Packages (#11316) 2026-08-28 01:03:02 +09:00
integrations ref: remove devtools-query-tsc test (#11335) 2026-08-30 16:12:58 +02:00
media docs: use the dynamic README header endpoint (#11136) 2026-08-03 13:43:19 +02:00
packages ref(query-core): Reuse refetch interval resolver (#11332) 2026-08-30 20:52:14 +02:00
scripts chore(scripts/create-github-release): fix release-notes diff range after 'Version Packages' PR is squash-merged (#11279) 2026-08-25 11:12:36 +09:00
.coderabbit.yaml docs: clarify contribution guidelines (#11280) 2026-08-25 07:18:51 +02:00
.editorconfig Initial commit 2019-09-10 13:22:26 -06:00
.gitattributes chore: force type import (#4202) 2022-09-23 10:55:22 +02:00
.gitignore fix(lit-query): migrate to standard tsdown build so 'build' output is cached by nx and 'test:build' passes (#10943) 2026-08-20 09:34:13 +09:00
.npmrc ci: update workspace config (#9671) 2025-09-21 23:26:52 +10:00
.nvmrc chore(.nvmrc): update Node to 'v24.16.0' (Krypton LTS) (#10807) 2026-05-26 17:57:16 +09:00
.prettierignore chore: tsup -> tsdown (#11222) 2026-08-18 15:19:43 +02:00
.size-limit.json chore: size-limit 2025-12-31 10:33:53 +01:00
AGENTS.md docs: clarify contribution guidelines (#11280) 2026-08-25 07:18:51 +02:00
CONTRIBUTING.md docs: clarify contribution guidelines (#11280) 2026-08-25 07:18:51 +02:00
eslint.config.js chore: tsup -> tsdown (#11222) 2026-08-18 15:19:43 +02:00
FUNDING.json funding changes 2024-02-15 00:59:57 -07:00
knip.json chore: update knip (#11262) 2026-08-23 19:24:11 +02:00
LICENSE chore: Update outdated LICENSE year (#4266) 2022-10-08 08:01:32 +02:00
nx.json chore(nx.json): drop dead 'dist-cjs' build output entry (#11235) 2026-08-20 16:09:40 +09:00
package.json chore: update knip (#11262) 2026-08-23 19:24:11 +02:00
pnpm-lock.yaml ref: remove devtools-query-tsc test (#11335) 2026-08-30 16:12:58 +02:00
pnpm-workspace.yaml ref: remove devtools-query-tsc test (#11335) 2026-08-30 16:12:58 +02:00
prettier.config.js chore: Update to prettier v3.1.0 (#6378) 2023-11-15 14:15:47 +11:00
README.md docs: use the dynamic README header endpoint (#11136) 2026-08-03 13:43:19 +02:00
tsconfig.json fix(vue-devtools): fix style prop type (#10087) 2026-02-11 17:06:18 +01:00

TanStack Query

TanStack Query

An async state management library built to simplify fetching, caching, synchronizing, and updating server state.

  • Protocol‑agnostic fetching (REST, GraphQL, promises, etc.)
  • Caching, refetching, pagination & infinite scroll
  • Mutations, dependent queries & background updates
  • Prefetching, cancellation & React Suspense support

Read the docs →

Get Involved

Partners

CodeRabbit Cloudflare
Query & you?

We're looking for TanStack Query Partners to join our mission! Partner with us to push the boundaries of TanStack Query and build amazing things together.

LET'S CHAT

Explore the TanStack Ecosystem

… and more at TanStack.com »