News for hackers. Stuff that matters.
Re:Disconnect. Offline only by ckuijjer on Wednesday August 23, 2017 @08:54AM (#15081098)
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'))

There are no comments on this comment yet.