TanStackT
TanStack9mo ago
21 replies
sacred-rose

Automatic Query Invalidation

Hi guys, I have read Automatic Query Invalidation after Mutations, and I pretty like meta option approach, but in some case I need to access to the payload I pass to the mutation to invalidate a specific queryKey. How can I combine it with the meta option approach?
Was this page helpful?