Replies: 1 comment 1 reply
-
have you tried: this will make sure that multiple calls to |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hey!
We're using websockets to push updates (e.g., new messages, conversations) to our React app. Each update currently triggers an invalidate query, causing a database refetch. When updates come in rapid succession, this leads to excessive database queries.
Is there a way to delay or batch these invalidations, so we only invalidate after the stream of events pauses? Any suggestions appreciated!
Beta Was this translation helpful? Give feedback.
All reactions