zed
CCConvex Community
•Created by Ahmet on 1/17/2025 in #support-community
Is it possible to listen for subscribe/unsubscribe events for queries and trigger an action?
love youu convex 💖
11 replies
CCConvex Community
•Created by Ahmet on 1/17/2025 in #support-community
Is it possible to listen for subscribe/unsubscribe events for queries and trigger an action?
I even made my own socket tunnel to save bandwidth and function calls... and somehow, Convex still owns my heart 😂
11 replies
CCConvex Community
•Created by Ahmet on 1/17/2025 in #support-community
Is it possible to listen for subscribe/unsubscribe events for queries and trigger an action?
how did you solve this issue???
11 replies
CCConvex Community
•Created by zed on 3/5/2025 in #support-community
🤔 Forcing a Refresh in TanStack Query with Convex: How to Do It?
I followed the docs and set up basic queries successfully. I created a few queries, but I need to force a refetch. I tried
queryClient.invalidateQueries
, queryClient.refetchQueries
, and refetch
, but none of them are working to refetch the Convex query function. Any suggestions?
https://docs.convex.dev/client/tanstack-query#:~:text=TanStack%20Query%20is%20an%20excellent,for%20use%20with%20TanStack%20Query.5 replies