-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
fix(query-core): focus check issue from retryer for refetchIntervallnBackground #9563
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -275,6 +275,11 @@ export interface QueryOptions< | |
* Maximum number of pages to store in the data of an infinite query. | ||
*/ | ||
maxPages?: number | ||
/** | ||
* If set to `true`, the query will continue to refetch while their tab/window is in the background. | ||
* Defaults to `false`. | ||
*/ | ||
refetchIntervalInBackground?: boolean | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. hmm we shouldn’t really add this to Now that I’m seeing this, I don’t think it’s "fixable" with an additional check because you can have different observers with different values for I think the best step forward is to just remove the check in v6 and document the current behaviour for v5. |
||
} | ||
|
||
export interface InitialPageParam<TPageParam = unknown> { | ||
|