#How to use experimental broadcastQueryClient

3 messages · Page 1 of 1 (latest)

fluid swallow
tropic remnant
#

Looking at the source, it shouldn't require any other setup. Are you sure that the origin and broadcast channel are the same in both tabs?

#

I would expect that the data in query client is automatically synced between tabs

I don't think this is correct. Once you call broadcastQueryClient, any new updated/removed events will be broadcast to all clients. But it will not attempt to sync data that was already in the cache before you called broadcastQueryClient.