Skip to content

Mode for refetchOnWindowFocus to avoid refreshing useless queries when navigating out #5544

Answered by TkDodo
noe555 asked this question in Ideas
Discussion options

You must be logged in to vote

in v5, refetchOnWindowFocus will only trigger when a page actually becomes visible, not if it becomes focussed. I think this will implicitly fix this issue, because you just focussing the window while clicking onto it will not trigger a refetch anyways.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by noe555
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants