TanStackT
TanStack10mo ago
1 reply
capable-brown

Side Effects in mutateAsync.

Is there any reason not to use 'onSuccess/onError/onSettled' side effects in mutateAsync? They seem to work fine but all examples I see have them in a try/catch.
Was this page helpful?