Ross ROSS = Recommend OSS · open-source software intelligence for agents

cwise89/react-detect-offline

Offline and Online components for React observed · 2026-08-28

github.com/cwise89/react-detect-offline · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3321
  • days_rel: n/a
  • days_push: 1366
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1280 stars · 96 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A small React component library that tracks the browser's online/offline connection state. It ships Online, Offline, and Detector components that conditionally render children based on connectivity, with a configurable polling fallback for browsers with unreliable online events.

Use cases

  • detect if the user is offline in a react app
  • show a banner when internet connection is lost
  • conditionally render content only when online
  • monitor network connectivity changes in react
  • display an offline message in a react component
  • style the ui differently based on connection status

When to choose

  • You use React and want a tiny, declarative way to render UI based on online/offline state
  • You need a render-prop Detector for complex cases like swapping styles on connectivity changes
  • You want a polling fallback for browsers where the online event is unreliable

When to avoid

  • Your project is not built with React
  • You need network quality metrics such as bandwidth or latency, not just an online/offline flag
  • You require a library with frequent recent releases or a hooks-first API

Facets

library · maturity maintenance

ui-components state-management web-development frontend networking browser react react-components offline-detection network-status connectivity online-offline connection-monitor render-prop

2 sources

Member repositories

RepositoryRoleHealth v2
cwise89/react-detect-offlinemain23

For agents

markdown · JSON · MCP: product_card(name="cwise89/react-detect-offline")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem