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.
1 Reply
conscious-sapphire•9mo ago
Errors in mutateAsync are not caught by TSQ, hence the try/catches you see
https://discord.com/channels/719702312431386674/1349006555034550333/1349099779556249641