{"adoption": {"forks": 151, "observed_at": "2026-08-28T04:06:07.150214+00:00", "stars": 2029}, "canonical_url": "https://ross.abutalabs.com/products/react-activation", "card": {"archived": false, "artifact_type": "library", "description": "Hack <KeepAlive /> for React", "domain": ["frontend", "web-development"], "enriched": true, "function": ["state-management", "ui-components", "middleware"], "health_score": 44, "homepage": "https://www.npmjs.com/package/react-activation", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["CJY0208/react-activation"], "name": "CJY0208/react-activation", "platform": [], "pushed_at": "2025-05-21T02:46:02+00:00", "repo": "CJY0208/react-activation", "stars": 2029, "tags": ["keep-alive", "react", "component-caching", "tabs", "react-router", "ssr-compatible", "web-server", "nodejs"], "topics": ["keepalive", "react", "cache-control", "keep-alive", "cache", "offscreen"], "urls": [], "use_cases": ["preserve component state when switching tabs in react-router", "cache form input values when navigating away and back", "implement closable tabs that keep their state like in Vue", "keep list scroll position and filters when returning to a page", "cache multi-step wizard state across route changes"], "what_it_is": "A React library that implements Vue's <keep-alive /> component caching behavior, preserving component state when they are unmounted and remounted. It works via a hack implementation compatible with React 16-18, Preact, and SSR.", "when_to_avoid": ["you use React.StrictMode or ReactDOMClient.createRoot without disabling autoFreeze", "you can wait for or use React 18's official <Offscreen /> support", "your project doesn't use Babel and you can't manage cacheKey manually"], "when_to_choose": ["you need Vue-style keep-alive state preservation in a React app", "you're building tabbed interfaces where each tab must retain its state", "you're on React 16/17/18 and need component caching without rewriting to hooks"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/react-activation", "repo": "CJY0208/react-activation", "role": "main", "score": 33}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "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:07.150214+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:07.150214+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:59:36.499842+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "aace787f3b143bf7fe4c89e310e6a18e050786009151fd1941fa2719e2b1d056", "fetched_at": "2026-08-28T04:06:07.150214+00:00", "kind": "readme", "missing": false, "url": "https://github.com/CJY0208/react-activation"}, {"content_hash": "db81406805e517ea7e023065e97a06b562e3ac92fb7382f1d7c183d3f020954b", "fetched_at": "2026-08-29T10:39:37.941417+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/react-activation"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 22, "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": 2555, "days_push": 469, "days_rel": 650, "gap_med": null, "n_releases_24m": 1}, "score": 33, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}