From 50c6c3706940a73f8e0f664c668e65cea99d451e Mon Sep 17 00:00:00 2001 From: Seydi Charyyev Date: Mon, 4 May 2026 17:22:12 +0500 Subject: [PATCH] docs: correct refetchOnReconnect default in JSDoc --- packages/query-core/src/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/query-core/src/types.ts b/packages/query-core/src/types.ts index 6cfe16484e5..cb8fa4a747c 100644 --- a/packages/query-core/src/types.ts +++ b/packages/query-core/src/types.ts @@ -365,7 +365,7 @@ export interface QueryObserverOptions< * If set to `false`, the query will not refetch on reconnect. * If set to `'always'`, the query will always refetch on reconnect. * If set to a function, the function will be executed with the latest data and query to compute the value. - * Defaults to the value of `networkOnline` (`true`) + * Defaults to `true` unless `networkMode` is `'always'`. */ refetchOnReconnect?: | boolean