Replies: 1 comment
-
I think that v3 exposes a https://react-query-beta.tanstack.com/guides/window-focus-refetching#managing-focus-state by calling I'm just guessing here 😅 but maybe you could try that :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm working on an application where it's common for a user to open multiple documents in new tabs. I'm also using the query result to set the
title
tag. What I'm observing is the query remains disabled until the first time I actually focus the browser tab, so the user doesn't see the correct document title in their browser tabs until they've viewed each tab at least once which isn't ideal.Is there a way to ensure certain query always run even if the browser window isn't in focus?
Beta Was this translation helpful? Give feedback.
All reactions