Comment Comment by ckuijjer It listens to the online and offline events (using https://github.com/chrisbolin/react-detect-offline which is really cool). You really have to turn off your network connection.Or fire the event yourself using window.dispatchEvent(new Event('offline')) parent ckuijjer 9 years ago
Or fire the event yourself using window.dispatchEvent(new Event('offline'))