DEV Community


Discussion on: Keep working Offline with Javascript

arojunior profile image
Junior Oliveira Author

Hi! Thank you for your feedback. Actually, is just a Boolean and the correct property is "onLine" from navigator.

We need it because as I said before, it's just a Boolean to tell you when is online/offline... But how do you keep the failed request to send again when it came from offline to online?

The real meaning of this library is about do not lose requests.

akshatbhargava123 profile image

Ohhh okay, I get the point now. Thank you so much!