Invalidating Queries doesn't send a request
I'm using TRPC, which is using react-query. For some reason
getWebsites does not invalidate when invalidate is called. TRPC's invalidate is using queryClient.invalidateQueries
I have the following code snippet:

2 Replies
optimistic-gold•3y ago
Disabled queries don't get refetched with invalidation
ambitious-aquaOP•3y ago
It does not refetch even if I remove the enabled option.
Fixed: Another context was conflicting with TRPC because both uses react-query.