{"library":"recompose","type":"library","category":null,"description":"recompose is a JavaScript utility library for React, providing a collection of higher-order components (HOCs) and utility functions designed to enhance functional component patterns. It allows developers to compose multiple concerns into a single component, such as managing local state (`withState`), handling side effects (`lifecycle`), mapping props (`mapProps`), and creating event handlers (`withHandlers`). The current stable version is 0.30.0, released in late 2018. The author explicitly announced the discontinuation of active maintenance in October 2018, recommending React Hooks as a superior alternative that addresses the same problems and more. Its primary differentiator was enabling a purely functional approach to component logic before the native React Hooks API existed, offering a declarative way to abstract component logic and state management without relying on class components.","language":"javascript","status":"abandoned","version":"0.30.0","tags":["javascript","react","higher-order","components","microcomponentization","toolkit","utilities","composition"],"install":[{"cmd":"npm install recompose","imports":["import { compose } from 'recompose';","import { withState } from 'recompose';","import { withHandlers } from 'recompose';"]},{"cmd":"yarn add recompose","imports":[]},{"cmd":"pnpm add recompose","imports":[]}],"homepage":null,"github":"https://github.com/acdlite/recompose","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/recompose","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/recompose/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Mon Jul 20","install_tag":null}}