TanStackT
TanStack15mo ago
1 reply
foolish-indigo

Invalidate / clear mutation after success?

I pass
meta
fields into mutation and adjust styles based on the active mutation state, but need this to be cleared after success. So what is the approach to invalidate/clear mutation back to an empty state?
Was this page helpful?