{"adoption": {"forks": 293, "observed_at": "2026-08-28T04:09:56.386729+00:00", "stars": 7171}, "canonical_url": "https://ross.abutalabs.com/products/react-responsive", "card": {"archived": false, "artifact_type": "library", "description": "CSS media queries in react - for responsive design, and more.", "domain": ["web-development", "frontend"], "enriched": true, "function": ["frontend-framework", "ui-components", "state-management"], "health_score": 25, "homepage": "https://contra.io/react-responsive", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["yocontra/react-responsive"], "name": "yocontra/react-responsive", "platform": ["browser"], "pushed_at": "2025-03-01T21:26:29+00:00", "repo": "yocontra/react-responsive", "stars": 7171, "tags": ["react", "media-queries", "responsive-design", "hooks", "matchmedia", "css", "viewport", "mobile-first", "typescript", "nodejs", "web-server"], "topics": ["react"], "urls": [], "use_cases": ["render different components for desktop vs mobile in react", "detect screen orientation or retina displays in a react app", "use css media queries as react hooks", "conditionally render ui based on viewport width", "test responsive layouts with a forced device", "build mobile-first responsive react components"], "what_it_is": "A React library that lets components respond to CSS media queries via a useMediaQuery hook and a MediaQuery component. It supports camelCase shorthand props, render props, and device forcing for testing responsive layouts.", "when_to_avoid": ["you only need CSS-only responsive styling without JS logic", "you are not using React", "you prefer a full CSS-in-JS or utility framework that handles breakpoints for you"], "when_to_choose": ["you need JS-driven conditional rendering based on media queries in React", "you want both hook and component APIs with broad browser support", "you need to force a device context for testing or SSR scenarios"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-responsive", "repo": "yocontra/react-responsive", "role": "main", "score": 36}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "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:56.386729+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:56.386729+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:39:56.938571+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1ca9cd80bc26fa4fd1b9058feaa8f77c20e3bab84e63a49b0257334fe4678bcc", "fetched_at": "2026-08-28T04:09:56.386729+00:00", "kind": "readme", "missing": false, "url": "https://github.com/yocontra/react-responsive"}, {"content_hash": "0c8554036c672f16eafe8ba193be656cae3be35a63316d98654fb0b854422ab7", "fetched_at": "2026-08-29T08:35:27.422870+00:00", "kind": "homepage", "missing": false, "url": "https://contra.io/react-responsive"}, {"content_hash": "d044b05c82164847b794a103c90437231822e6bca11b72fbec9a778128aa476b", "fetched_at": "2026-08-29T08:35:27.425471+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-responsive"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 9, "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": 4402, "days_push": 550, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 36, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}