How to access mutationState in v4? What is the pattern to work on project with many mutations?
I have a project where my entities have many states. State is changed by post requests. I have many post requests, that return current state or error of entity.
I would like to have access to the data of post request in another component. So now i just setQueryData in onSuccess and onError. Is this right?
I would like to have access to the data of post request in another component. So now i just setQueryData in onSuccess and onError. Is this right?