broadcastQueryClient does not propagate invalidations #2591
Unanswered
robert-theodo
asked this question in
General
Replies: 1 comment
-
I think the broadcastQueryClient plugin just assumes the same queryClients in all tabs. So you'd need to invalidate in your tab, fetch the updates, and then it should sync to the other tabs because of the If you'd send an |
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.
-
We are trying to use broadcastQueryClient on our website.
Use Case
We have two browser tabs. One tab is a list of items. The second tab is a more detailed editor for one item from the list. When we save the item from the editor, we want to invalidate the query for the list on the list tab so that edited attributes get updated.
Problem
It looks like only updates are propagated through the broadcast client, not invalidations.
How can we achieve our use case? Any pointers on how to open a PR for the broadcastQueryClient?
Beta Was this translation helpful? Give feedback.
All reactions