We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
staleTime
1 parent 322760b commit 12d4542Copy full SHA for 12d4542
packages/query-core/src/types.ts
@@ -305,6 +305,7 @@ export interface QueryObserverOptions<
305
* The time in milliseconds after data is considered stale.
306
* If set to `Infinity`, the data will never be considered stale.
307
* If set to a function, the function will be executed with the query to compute a `staleTime`.
308
+ * Defaults to `0`.
309
*/
310
staleTime?: StaleTime<TQueryFnData, TError, TQueryData, TQueryKey>
311
/**
0 commit comments