I see an error message saying "Uncaught (in promise) Cancel" even though the I used catch function to handle exceptions. My code looks like this:
this.http.get(params, { cancelToken }).catch(...)
I have the catch part, why do I still see the error?
axios's cancelToken is deprecated. Try using AbortController: https://axios-http.com/docs/cancellation
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With