winhtaikaung / react-tiny-link

Convert your links into rich previews
https://winhtaikaung.github.io/react-tiny-link
259 stars 48 forks source link

Uncaught (in promise) {isCanceled: true} #92

Open sinaler opened 3 years ago

sinaler commented 3 years ago

Hi guys, I am receiving Uncaught (in promise) errors when we send simultaneous inputs to the component. Is it possible if you can handle these errors?

unit-002 commented 3 years ago

I am also having the same issue, Uncaught (in promise) {isCanceled: true} sometimes it appears sometimes it doesn't.

winhtaikaung commented 3 years ago

Hi @sinaler , Can you please help me to provide the steps to replicate your issue .

Thanks

sinaler commented 3 years ago

Hi @winhtaikaung, The problem was happening because of calling the component simultaneously(and cancelling) like keyboard strokes. So the promises were not cancelled always.