{"adoption": {"forks": 108, "observed_at": "2026-09-03T02:15:08.251431+00:00", "stars": 1005}, "canonical_url": "https://ross.abutalabs.com/products/react-keep-alive", "card": {"archived": false, "artifact_type": "library", "description": "A component that maintains component state and avoids repeated re-rendering.", "domain": ["frontend", "web-development"], "enriched": true, "function": ["state-management", "ui-components", "caching"], "health_score": 20, "homepage": null, "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["StructureBuilder/react-keep-alive"], "name": "StructureBuilder/react-keep-alive", "platform": ["browser"], "pushed_at": "2023-01-03T17:13:58+00:00", "repo": "StructureBuilder/react-keep-alive", "stars": 1005, "tags": ["react", "keep-alive", "component-caching", "performance-optimization", "typescript", "nodejs"], "topics": [], "urls": [], "use_cases": ["preserve component state when switching tabs in a React app", "avoid re-rendering expensive components on navigation", "implement Vue-style keep-alive caching in React", "cache form state when users navigate away and back", "keep list scroll position and filters alive across route changes"], "what_it_is": "A React library providing a KeepAlive component that preserves component state across unmounts, similar to Vue's keep-alive. It wraps components with a Provider to cache them and avoid repeated re-rendering, independent of React Router.", "when_to_avoid": ["you're on React 18+ with modern alternatives available", "your components are cheap to re-render and caching adds complexity", "you need actively maintained support for the latest React versions"], "when_to_choose": ["you need Vue-like keep-alive behavior in React", "you want caching that works without React Router", "you need CSS animations on cached components since it doesn't use display:none"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-keep-alive", "repo": "StructureBuilder/react-keep-alive", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-09-03T02:15:08.251431+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:13:08.325219+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "72030fa60a86946311a07b240c45fd915d7cff185422725846af9fef9e1b0779", "fetched_at": "2026-09-03T02:15:08.251431+00:00", "kind": "readme", "missing": false, "url": "https://github.com/StructureBuilder/react-keep-alive"}, {"content_hash": "10c77a3ca841be4bb944db67985d79c23341a497179753b63d2f5871dec8e943", "fetched_at": "2026-08-29T13:13:10.988014+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-keep-alive"}], "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": 2740, "days_push": 1338, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 3, "stale_scrape": false}}