TanStackT
TanStack10mo ago
3 replies
capable-brown

Tracking mutations via mutation cache?

Example: Have a row of records that could potentially have different mutations apply to them. Mutations can get called on these rows by a context menu that unrenders.

If I wanted to track the state of each of the rows and their related mutation, am I better manually tracking an array of Id's with error and loading states., or subscribing in a row component to the mutation cache?
Was this page helpful?