Why onSucess, onError, onSettled will be removed in next major version? #6139
Unanswered
SnowingFox
asked this question in
Q&A
Replies: 1 comment
-
what's the other stuff you're doing? please read: |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
In my company project, we are using onSuccess, onError, onSettled in a lots of scenes, i know we can get the error message via
query.error
like thisBut in my company's projects, they are using onSuccess, onError to do something else when request is over, if you removed these options, we need to refactor the code or don't upgrade to the latest version, i think not only i will met this problem, but others, so i think this features can be saved
Beta Was this translation helpful? Give feedback.
All reactions