re: Keep working Offline with Javascript VIEW POST

re: There's navigator.isOnline then why do we need it?

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.


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

code of conduct - report abuse