Skip to content
Source
Sign inSign up
TanStack/query

fix(query-broadcast-client-experimental): suppress unhandled postMessage DataCloneError rejections #10697

Closedalgojogacor(GitHub profile, opens in a new tab)wants to merge 1 commit intomain fromrefs/pull/10697/headopened View on GitHub

Showing 1 changed file with 3 additions and 3 deletions.

x
0 of 1 viewed, 1 left
3 additions and 3 deletionspackages/query-broadcast-client-experimental/src/index.tsModified
View file
@@ -42,7 +42,7 @@
queryHash,
queryKey,
state,
- })
+ }).catch(() => {})
​
if (queryEvent.type === 'removed' && observers.length > 0) {
@@ -50,7 +50,7 @@
type: 'removed',
queryHash,
queryKey,
- })
+ }).catch(() => {})
​
if (queryEvent.type === 'added') {
@@ -58,7 +58,7 @@
type: 'added',
queryHash,
queryKey,
- })
+ }).catch(() => {})
})
​