diff --git a/packages/query-core/src/query.ts b/packages/query-core/src/query.ts index 62bc9a16082..c1d54e7c070 100644 --- a/packages/query-core/src/query.ts +++ b/packages/query-core/src/query.ts @@ -298,7 +298,9 @@ export class Query< ) } - return false + // if a query has no observers, fall back to the query's own staleTime + // (mirrors isDisabled's no-observer fallback pattern) + return resolveStaleTime((this.options as any).staleTime, this) === 'static' } isStale(): boolean {