{"adoption": {"forks": 114, "observed_at": "2026-08-28T04:06:50.640545+00:00", "stars": 2422}, "canonical_url": "https://ross.abutalabs.com/products/react-media", "card": {"archived": false, "artifact_type": "library", "description": "CSS media queries for React", "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": ["ReactTraining/react-media"], "name": "ReactTraining/react-media", "platform": ["browser", "cross-platform"], "pushed_at": "2020-07-15T09:45:27+00:00", "repo": "ReactTraining/react-media", "stars": 2422, "tags": ["react", "media-queries", "responsive", "hooks", "css", "responsive-design", "nodejs"], "topics": [], "urls": [], "use_cases": ["render different components for mobile vs desktop breakpoints", "conditionally show elements based on screen width in React", "use a useMedia hook to check if viewport matches a media query", "build responsive layouts without CSS-only hiding", "match multiple named breakpoints at once in a React app"], "what_it_is": "react-media is a React component and hook library for matching CSS media queries in JavaScript. It renders children or returns match results based on whether media queries like breakpoints match the current viewport.", "when_to_avoid": ["you only need CSS-based responsiveness with no JS logic", "you use a non-React framework", "you need actively maintained software with recent releases"], "when_to_choose": ["you need JS-driven responsive rendering in React components", "you want a small, focused media query matching utility with hook support"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-media", "repo": "ReactTraining/react-media", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "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:50.640545+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:50.640545+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:33:01.657748+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "3d04b393b4c324da273de70522e49e3c64ce4d4e99e4d004116e82b24cf5daf0", "fetched_at": "2026-08-28T04:06:50.640545+00:00", "kind": "readme", "missing": false, "url": "https://github.com/ReactTraining/react-media"}, {"content_hash": "f1ae3ee0d459c950c66718ee6b8f9b74da47303baeba093e9baa3986f98372ed", "fetched_at": "2026-08-29T10:13:35.766625+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-media"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "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": 3682, "days_push": 2240, "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}}