RootCauseunvalidated
you cannot destructure from `useQueryClient` hook — the functions (like invalidateQueries) need to be bound to the QueryClient when executed. Tension: If you destructure the invalidateQueries method and then call it, it's being called without a context. Outcome: it doesn't know how to use `this` correctly.
924d2487-07d2-40ef-966c-7a5856cdd94c
you cannot destructure from useQueryClient hook — the functions (like invalidateQueries) need to be bound to the QueryClient when executed. Tension: If you destructure the invalidateQueries method and then call it, it's being called without a context. Outcome: it doesn't know how to use this correctly.