{"adoption": {"forks": 96, "observed_at": "2026-08-28T04:04:13.723595+00:00", "stars": 1280}, "canonical_url": "https://ross.abutalabs.com/products/react-detect-offline", "card": {"archived": false, "artifact_type": "library", "description": "Offline and Online components for React", "domain": ["web-development", "frontend", "networking"], "enriched": true, "function": ["ui-components", "state-management"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["cwise89/react-detect-offline"], "name": "cwise89/react-detect-offline", "platform": ["browser"], "pushed_at": "2022-12-07T01:01:01+00:00", "repo": "cwise89/react-detect-offline", "stars": 1280, "tags": ["react", "react-components", "offline-detection", "network-status", "connectivity", "online-offline", "connection-monitor", "render-prop"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-detect-offline", "repo": "cwise89/react-detect-offline", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:13.723595+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T05:02:36.264504+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "a56ac073f20ab1c4ab5766012b1c58660c149da0e6f160a151eb1b2d0c279f8c", "fetched_at": "2026-08-28T04:04:13.723595+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cwise89/react-detect-offline"}, {"content_hash": "84e24eace13c8f86b8759e591dc13e0a3b7c36a240cc90aa8e1e86fdf906412c", "fetched_at": "2026-08-29T12:13:17.058554+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-detect-offline"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3321, "days_push": 1366, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}