-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 9 replies
-
have you seen the changes around window focus refetching? |
Beta Was this translation helpful? Give feedback.
-
Hi, tbh it is really hard to find this change in migration docs, because when I was migrating from v4 to v5 I've notice changes and when I was trying to find it in the docs I searched for the flag and flag was noticed only once not in that place, so I though something was broken) It would be nice to see migration guide with focusListener in the migration guide. Probably I would add info about how to archive full window focus to this page as well https://tanstack.com/query/v5/docs/framework/react/guides/window-focus-refetching P.S. it is really sad that project doesn't support |
Beta Was this translation helpful? Give feedback.
-
My problem was that my dev tools were open and the "emulate focused page" option was on so the page never went out of focus in order to return to be in focus and refetch. I wanted to put it out there because maybe someone else will run into this issue. |
Beta Was this translation helpful? Give feedback.
have you seen the changes around window focus refetching?
https://tanstack.com/query/v5/docs/react/guides/migrating-to-v5#window-focus-refetching-no-longer-listens-to-the-focus-event