Is recompose still maintained?
No — recompose stopped being maintained around October 2018. recompose's functionality was absorbed into react.
- Status
- No longer maintained
- Last maintained
- October 2018
- Use instead
react— on npm- Succession
- Absorbed elsewhere
- Drop-in
- no — expect code changes
- Confidence
- high
What should I use instead of recompose?
recompose's functionality was absorbed into react. react is not a drop-in replacement, so expect to change call sites.
How to migrate from recompose to react
Higher-order components map fairly directly onto hooks: withState becomes useState, withHandlers becomes plain functions or useCallback, and lifecycle becomes useEffect.
Why recompose is on this list
In October 2018 the author added a note to the recompose README saying he was discontinuing active maintenance because React Hooks solve the problems recompose was built to address. The repository was archived in September 2022. Existing code keeps working, but the last release, 0.30.0, predates the note.
The succession is settled: primary sources agree and the ecosystem has already moved.
recompose alternatives
The dataset lists no second option: react is where the ecosystem went, and nothing else has meaningful adoption.
Check your own project for recompose
npx dead-deps --all --min-state unmaintained
Run that in the directory holding your lockfile. If recompose is anywhere in your tree — a direct dependency or buried under something else — it appears in the report with this verdict, this successor and the same evidence links, alongside anything else that has stopped moving. Nothing is uploaded; the scan reads your lockfile locally and queries public registry metadata.
Exit code 1 means something was flagged, which makes npx dead-deps --min-state deprecated usable as a CI gate. See how verdicts are produced.
Evidence
Every claim on this page traces to a primary source. Check them:
- Author's note at the top of the recompose README (repository archived September 2022)github.com
- React documentation: built-in hooks referencereact.dev
Packages related to recompose
- angularReimplementation: @angular/core · unmaintained since January 2022
- @angular/httpAbsorbed elsewhere: @angular/common · unmaintained since May 2019
- @zeit/next-sassAbsorbed elsewhere: next · unmaintained since March 2020
- jest-environment-jsdom-sixteenAbsorbed elsewhere: jest-environment-jsdom · unmaintained since April 2021
- left-padReplaced by String.prototype.padStart in the platform · unmaintained since April 2018
See the full index of covered packages, or read the methodology for how a verdict is reached and why a quiet package is not a dead one.