Skip to content

Conversation

tannerlinsley
Copy link
Collaborator

No description provided.

@vercel
Copy link

vercel bot commented Feb 13, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/Fb8nBCJkFXXoZxhhvMVZD3jozqAf
✅ Preview: https://react-query-git-feat-broadcastquerclient-experimental-f95bb7.vercel.app

@tannerlinsley tannerlinsley requested a review from TkDodo February 13, 2021 06:37
@tannerlinsley
Copy link
Collaborator Author

This PR relies on #1792

@tannerlinsley tannerlinsley marked this pull request as draft February 13, 2021 06:38
Copy link
Collaborator

@TkDodo TkDodo left a 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?

@tannerlinsley tannerlinsley merged commit 4bbfe2a into master Feb 23, 2021
@tannerlinsley tannerlinsley deleted the feat-broadcastQuerClient-experimental branch February 23, 2021 04:26
@tannerlinsley
Copy link
Collaborator Author

🎉 This PR is included in version 3.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants