# renatorib/react-powerplug

:electric_plug: Renderless Containers

Repository: https://github.com/renatorib/react-powerplug
Canonical: https://ross.abutalabs.com/products/react-powerplug
Homepage: https://renatorib.github.io/react-powerplug
Language: JavaScript
License: MIT
License Family: permissive
Topics: dumb-components, dumb, state, react, react-component, javascript, renderless, renderless-components, state-container, render-props
Last push: 2026-03-08T04:50:48+00:00

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

## Adoption (not part of the score)
Stars 2674, forks 101 (observed 2026-08-28T04:07:09.634021+00:00)

## What it is
React PowerPlug is a set of tiny, dependency-free renderless React components that provide state and logic utilities via the render props pattern. It lets you plug state containers like Toggle, State, and Value into your dumb/presentational components without writing class components or hooks.

## Use cases
- add state to dumb react components
- manage toggle or checkbox state with render props
- rapid prototyping react ui without class components
- share pagination or tabs logic between components
- avoid redux for simple local component state

## When to choose
- you use render props patterns or older React versions without hooks
- you want a tiny (~3kb), tree-shakeable, dependency-free state utility
- you want plug-and-play state containers for presentational components

## When to avoid
- you are on modern React and prefer built-in hooks like useState
- you need global or complex application state management
- you want a library under active development

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, ui-components
- domain: frontend, web-development
- platform: browser
- tags: react, render-props, renderless-components, dumb-components, state-containers, nodejs, web-server

## Member repositories
- renatorib/react-powerplug (main) score 55

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:09.634021+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-30T02:18:04.346477+00:00, confidence not recorded.
  - readme: https://github.com/renatorib/react-powerplug (fetched 2026-08-28T04:07:09.634021+00:00, sha 0023e6cc6591)
  - homepage: https://renatorib.github.io/react-powerplug (fetched 2026-08-29T10:00:48.439577+00:00, sha a2da1a077ee1)
  - registry_npm: https://registry.npmjs.org/react-powerplug (fetched 2026-08-29T10:00:48.442227+00:00, sha 6f8d16ee6413)
- Data as of 2026-08-30T08:39:29.467469+00:00.
