Replies: 1 comment 1 reply
-
Should I make an issue for this, anyone ? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It seems that since this commit:
26844a9
Either by accident, or on purpose, the resolve state is triggered BEFORE onSuccess/onError and onSettled are resolved.
This means that when using queryCache.refetchQueries inside a list will still have a deleted item after the loading state is done.
Was this change intentional or should I file an issue?
Should these lines be flipped?
https://github.com/tannerlinsley/react-query/blob/master/src/react/useMutation.ts#L151-L158
as they are in
https://github.com/tannerlinsley/react-query/blob/master/src/react/useMutation.ts#L151-L158
Beta Was this translation helpful? Give feedback.
All reactions