# reactions/component

Declarative version of React.Component

Repository: https://github.com/reactions/component
Canonical: https://ross.abutalabs.com/products/reactions-component
Homepage: https://ui.reach.tech/component-component
Language: HTML
License: MIT
License Family: permissive
Last push: 2022-12-06T19:46:38+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3120, "days_push": 1366, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1058, forks 36 (observed 2026-08-28T04:03:25.132046+00:00)

## What it is
A declarative React component that lets you add lifecycle methods and local state inline without creating a new component class. It has since moved to Reach UI, with this repo kept for historical reference.

## Use cases
- add state to JSX without creating a new component
- fetch async data inline with didMount
- declarative lifecycle hooks in React
- small counter or toggle state in render
- composable render-prop state container

## When to choose
- you use legacy React class-era code and want inline state or lifecycles
- you want a lightweight render-prop alternative to hooks in old codebases

## When to avoid
- starting a new React project - use built-in hooks instead
- you need actively maintained or documented software - it moved to Reach UI and is historical

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, state-management
- domain: frontend, web-development
- platform: browser
- tags: react, declarative-components, lifecycle, render-props, moved-to-reach-ui, nodejs

## Member repositories
- reactions/component (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:25.132046+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-30T06:57:52.104210+00:00, confidence not recorded.
  - readme: https://github.com/reactions/component (fetched 2026-08-28T04:03:25.132046+00:00, sha d4f3c0f7ae47)
  - homepage: https://ui.reach.tech/component-component (fetched 2026-08-29T12:59:32.703019+00:00, sha 0a3e778aa7d8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
