{"adoption": {"forks": 188, "observed_at": "2026-08-28T04:09:22.086397+00:00", "stars": 5538}, "canonical_url": "https://ross.abutalabs.com/products/react-intersection-observer", "card": {"archived": false, "artifact_type": "library", "description": "React implementation of the Intersection Observer API to tell you when an element enters or leaves the viewport.", "domain": ["frontend", "web-development", "performance"], "enriched": true, "function": ["ui-components", "state-management", "developer-tools"], "health_score": 100, "homepage": "https://roi.thebuilder.dk", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["thebuilder/react-intersection-observer"], "name": "thebuilder/react-intersection-observer", "platform": ["browser"], "pushed_at": "2026-08-26T12:28:18+00:00", "repo": "thebuilder/react-intersection-observer", "stars": 5538, "tags": ["react-hooks", "intersection-observer", "viewport-detection", "lazy-loading", "scroll-animations", "impression-tracking", "infinite-scroll", "typescript", "nodejs", "web-server"], "topics": ["intersectionobserver-api", "react", "performance", "scrolling", "intersectionobserver", "monitor", "visibility", "viewport", "lazy-loading", "hooks", "hook", "intersection-observer", "react-hooks", "reactjs"], "urls": [], "use_cases": ["lazy load images when they scroll into view", "trigger scroll reveal animations in react", "track ad impressions when visible", "build infinite scroll lists", "highlight the active section in a scrollspy nav", "prefetch data when a component approaches the viewport"], "what_it_is": "A tiny (~1 kB gzipped) TypeScript React library wrapping the browser Intersection Observer API. It exposes hooks (useInView, useOnInView) and an <InView> component to detect when elements enter or leave the viewport.", "when_to_avoid": ["you are not using React", "you need scroll position or parallax effects rather than simple visibility", "you target very old browsers without Intersection Observer support and cannot polyfill"], "when_to_choose": ["you use React 17+ and need viewport visibility detection with a tiny bundle", "you want typed APIs matching native IntersectionObserverInit options", "you observe many elements and need shared observers for performance", "you need deterministic Jest/Vitest tests with an Intersection Observer mock"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-intersection-observer", "repo": "thebuilder/react-intersection-observer", "role": "main", "score": 95}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "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:09:22.086397+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:22.086397+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:55:43.158154+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "abcceb246a57689544b320a0d532e1d72f16b523ae09cfb215249cdda467bf22", "fetched_at": "2026-08-28T04:09:22.086397+00:00", "kind": "readme", "missing": false, "url": "https://github.com/thebuilder/react-intersection-observer"}, {"content_hash": "98da7a34ee9d5b82d41454d942844a206b44824dc566623f9a1c6cdf73c596f8", "fetched_at": "2026-08-29T08:51:20.268139+00:00", "kind": "homepage", "missing": false, "url": "https://roi.thebuilder.dk"}, {"content_hash": "c02f877db59e79fdb3f870cb48ca48086aec32428bbd2086a5e97afdb66ee776", "fetched_at": "2026-08-29T08:51:20.270722+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/overview"}, {"content_hash": "449972b0bb70c479ad6fea3f29ccc4746a246d624d503951cc1ff15a1254acb4", "fetched_at": "2026-08-29T08:51:20.272614+00:00", "kind": "site_page", "missing": false, "url": "https://react-intersection-observer.thebuilder.dk/changelog"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 87}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3410, "days_push": 7, "days_rel": 7, "gap_med": 33, "n_releases_24m": 12}, "score": 95, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}