R
Reactiflux

help-js

✅ – _mercury – 20-10 Jan 15

M_mercury1/15/2023
How to deal with disconnections ? I want to display an error if fetch ajax req not able to connect ?
SScriptyChris1/15/2023
fetch should throw an error in case request encounters connection issue https://developer.mozilla.org/en-US/docs/Web/API/fetch#exceptions So you may .catch() or catch {} it and then show some info to user
UUUnknown User1/16/2023
3 Messages Not Public
Sign In & Join Server To View

Looking for more? Join the community!