TanStackT
TanStack3y ago
4 replies
uncertain-scarlet

Mutation promise resolution

The mutation docs mention that "additional mutation callbacks won't run if the component unmounts before the mutation finishes." What exactly does this mean? Does this mean that anything that would be triggered by any mutation callback will not happen if the component unmounts before it completes?
Was this page helpful?