# acdlite/recompose

A React utility belt for function components and higher-order components.

Repository: https://github.com/acdlite/recompose
Canonical: https://ross.abutalabs.com/products/recompose
Language: JavaScript
License: MIT
License Family: permissive
Archived: true
Last push: 2022-09-10T03:59:05+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3983, "days_push": 1453, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 14771, forks 1217 (observed 2026-08-28T04:11:07.663732+00:00)

## What it is
Recompose is a utility belt of helper functions for React function components and higher-order components, often described as lodash for React. It provides helpers like withState and withReducer for state management and component composition, but is now deprecated in favor of React Hooks.

## Use cases
- compose higher-order components in react
- add state to react function components
- manage component state with reducers
- write reusable react component enhancers
- refactor react class components to functions

## When to choose
- maintaining a legacy React codebase already using Recompose
- working on a project stuck on pre-Hooks React versions

## When to avoid
- starting a new React project - use built-in Hooks instead
- expecting new features or active maintenance
- modern React 16.8+ applications

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management, ui-components, developer-tools
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: react, higher-order-components, functional-programming, hooks-alternative, deprecated, nodejs

## Member repositories
- acdlite/recompose (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:07.663732+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:07:10.204085+00:00, confidence not recorded.
  - readme: https://github.com/acdlite/recompose (fetched 2026-08-28T04:11:07.663732+00:00, sha 481d53b52f95)
  - registry_npm: https://registry.npmjs.org/recompose (fetched 2026-08-29T08:05:34.391192+00:00, sha b25f62699d7b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
