How to abort a useMutation ?
Hello,
I have a use case where i have to do several mutations in a promise, but i want to cleanup the queries at unmount.
Now : i am using a signal with an abortController, is there a simpler solution ?
My mutation :
I have a use case where i have to do several mutations in a promise, but i want to cleanup the queries at unmount.
Now : i am using a signal with an abortController, is there a simpler solution ?
My mutation :