{"adoption": {"forks": 194, "observed_at": "2026-08-28T04:06:37.105188+00:00", "stars": 2320}, "canonical_url": "https://ross.abutalabs.com/products/react-visibility-sensor", "card": {"archived": false, "artifact_type": "library", "description": "Sensor component for React that notifies you when it goes in or out of the window viewport.", "domain": ["frontend", "web-development"], "enriched": true, "function": ["ui-components", "state-management"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["joshwnj/react-visibility-sensor"], "name": "joshwnj/react-visibility-sensor", "platform": ["browser"], "pushed_at": "2024-04-24T19:31:59+00:00", "repo": "joshwnj/react-visibility-sensor", "stars": 2320, "tags": ["react", "viewport-detection", "scroll-events", "lazy-loading", "visibility-sensor", "nodejs"], "topics": [], "urls": [], "use_cases": ["trigger animations when a component scrolls into view", "lazy-load images when they become visible", "track how long content is visible to users", "pause videos when scrolled out of the viewport", "fire analytics events on element visibility", "detect partial visibility of elements during scrolling"], "what_it_is": "A React component library that detects when its wrapped element enters or leaves the browser viewport and fires an onChange callback. It supports partial visibility, pixel offsets, and interval-based checks.", "when_to_avoid": ["you are using a modern stack where the native IntersectionObserver API or a hook like react-intersection-observer suffices", "your project is not React-based", "you need visibility detection outside the browser (e.g., server-side or native apps)"], "when_to_choose": ["you need viewport visibility detection in a React app with fine-grained control over offsets and partial visibility", "you need to support older browsers or React versions where IntersectionObserver-based hooks are not viable"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-visibility-sensor", "repo": "joshwnj/react-visibility-sensor", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "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:06:37.105188+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:37.105188+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:38:49.391597+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "110c387388efcb2cba1ffb799572443aede0195127960fc545290e1430c6a9d6", "fetched_at": "2026-08-28T04:06:37.105188+00:00", "kind": "readme", "missing": false, "url": "https://github.com/joshwnj/react-visibility-sensor"}, {"content_hash": "bee76a7ad6bb9cab753807158dc1965297512b585524957d05d4786742e8c6a9", "fetched_at": "2026-08-29T10:19:09.074018+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-visibility-sensor"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 35}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_releases"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4376, "days_push": 861, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 32, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}