DEV Community

Discussion on: πŸš€ Detecting If a User is Online/Offline with JavaScript

Collapse
 
nialljoemaher profile image
Niall Maher

I've left a link to some of the issues with navigator.online in the article. Definitely not a good solution alone. The event listeners are the real magic for checking when people are using apps on the move.