HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
cwise89
react-detect-offline
JavaScript2017–2017
cwise89 / react-detect-offline

react-detect-offline

Offline and Online components for React

2Distinct people
2Mentions
0Explicit recommenders
1.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Offline and Online components for React

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 6:01:08 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by hour2 dated mentions

Observed mentions: 2017-08-23 12:54:47 UTC to 2017-08-23 17:18:54 UTC.

012017-08-23 12:00:00 UTC to 2017-08-23 13:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsAug 23, 12:002017-08-23 13:00:00 UTC to 2017-08-23 14:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-23 14:00:00 UTC to 2017-08-23 15:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsAug 23, 14:002017-08-23 15:00:00 UTC to 2017-08-23 16:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-23 16:00:00 UTC to 2017-08-23 17:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2017-08-23 17:00:00 UTC to 2017-08-23 18:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsAug 23, 17:00

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 23, 12:002017-08-23 12:00:00 UTC2017-08-23 13:00:00 UTC101
Aug 23, 13:002017-08-23 13:00:00 UTC2017-08-23 14:00:00 UTC000
Aug 23, 14:002017-08-23 14:00:00 UTC2017-08-23 15:00:00 UTC000
Aug 23, 15:002017-08-23 15:00:00 UTC2017-08-23 16:00:00 UTC000
Aug 23, 16:002017-08-23 16:00:00 UTC2017-08-23 17:00:00 UTC000
Aug 23, 17:002017-08-23 17:00:00 UTC2017-08-23 18:00:00 UTC101

What Hacker News says

1 sources
I'm not sure what you're asking. "View source" will only show you the "source" text of the HTML page as the server sent it to you. Since this page is built with React without server-side rendering, said source just contains an empty div where the content would go (the one with id="root"). If you mean you want to see the DOM tree that has been generated with JS after you've loaded the page, you can see it in the corresponding tab in your browser's devtools. Eg in Chrome that's the "Elements" tab. If you mean you want to know how the page works when you're offline, the information is again in the JS. You can use your browser's devtools to prettify it (both Chrome and FF have this feature) and search for "Do you want to be productive?" to see the code. The Service Worker is only involved in that it returns the page and JS from its cache. It'
Read the rest
s the JS that detects whether it's offline or online and renders different content on the page accordingly. [1] [1]: https://github.com/chrisbolin/react-detect-offline
In Disconnect. Offline only

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.