Replies: 1 comment 4 replies
-
|
Beta Was this translation helpful? Give feedback.
4 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.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a UI with Tabs, and when switching between Tabs we'd like to refetch all queries used within the activated Tab.
Previously our tab components were unmounted when switching away from them and mounted again when switching back to it.
Queries were perfectly invalidated in this scenario (automatically).
But now we are not unmounting Tabs anymore, so that behavior is lost.
Is it possible to somehow trigger refetch for all queries that are mounted within certain component (and all it's children)?
Beta Was this translation helpful? Give feedback.
All reactions