{"adoption": {"forks": 89, "observed_at": "2026-08-28T04:05:57.439624+00:00", "stars": 1941}, "canonical_url": "https://ross.abutalabs.com/products/react-measure", "card": {"archived": false, "artifact_type": "library", "description": "📏 Compute measurements of a React component.", "domain": ["frontend", "web-development"], "enriched": true, "function": ["ui-components", "developer-tools"], "health_score": 20, "homepage": "https://souporserious.github.io/react-measure/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["souporserious/react-measure"], "name": "souporserious/react-measure", "platform": ["browser"], "pushed_at": "2020-09-11T02:19:27+00:00", "repo": "souporserious/react-measure", "stars": 1941, "tags": ["react", "resize-observer", "element-measurement", "container-queries", "dimensions", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["measure a react component's width and height", "detect when an element resizes in react", "get bounding rect of a dom element in react", "build container-query-like responsive components", "animate elements based on their measured size"], "what_it_is": "A React library that computes measurements (client, offset, scroll, bounds, margin rects) of wrapped components using ResizeObserver. It exposes a Measure component and hook-style render props to react to element size changes.", "when_to_avoid": ["you're not using React", "you need actively maintained tooling - last release was 2020", "modern CSS container queries can solve your layout need without JS"], "when_to_choose": ["you need element dimensions or resize callbacks in a React app", "you want a small utility wrapping ResizeObserver with a polyfill"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-measure", "repo": "souporserious/react-measure", "role": "main", "score": 32}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "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:05:57.439624+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:57.439624+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:08:07.496620+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "f085e3a677f9a302b36d95ce044671658e01f5c83aab4464e09c681305333970", "fetched_at": "2026-08-28T04:05:57.439624+00:00", "kind": "readme", "missing": false, "url": "https://github.com/souporserious/react-measure"}, {"content_hash": "aaf3457ac1a87a01678f7846b41962972c0fb756e5b87527d9b0a77288c99f6a", "fetched_at": "2026-08-29T10:47:37.714764+00:00", "kind": "homepage", "missing": false, "url": "https://souporserious.github.io/react-measure/"}, {"content_hash": "4509664e4d4ddc76913d789b3ef9b838c78b1c3995e1b5b53259116aeeb7d17f", "fetched_at": "2026-08-29T10:47:37.726629+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-measure"}], "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": 4005, "days_push": 2183, "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}}