Skip to content
jshacks.dev

Tag

network

1 post

Flat illustration of jobs on a conveyor heading to a rack of workers, with the Google Chrome, Redis, RabbitMQ and Apache Kafka logos.
Browser

How to Detect Online and Offline Status

Detect online and offline status with navigator.onLine and the online and offline events, understand their limits, probe with fetch and queue requests safely.

8 min read