-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
feat(broadcastQueryClient): experimental support for tab/window syncing #1793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/tannerlinsley/react-query/Fb8nBCJkFXXoZxhhvMVZD3jozqAf |
This PR relies on #1792 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General question: It seems that we are not syncing query-clients, but queries inside the query-cache? If that's the case, can we make this a bit more obvious in the docs? Settings like queryDefaults
on the client would not be synced as far as I can tell.
Also: Does this work if I have two apps that use the same broadcastChannel
? If so, do both apps need to call broadcastQueryClient
, or is this meant for the same app opened in multiple browsers only?
🎉 This PR is included in version 3.11.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
No description provided.