# pedronauck/react-adopt

:sunglasses: Compose render props components like a pro

Repository: https://github.com/pedronauck/react-adopt
Canonical: https://ross.abutalabs.com/products/react-adopt
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, render-props, compose
Last push: 2022-12-07T09:01:35+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3079, "days_push": 1365, "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 1663, forks 56 (observed 2026-08-28T04:05:18.861055+00:00)

## What it is
React Adopt is a tiny (~0.7kb) TypeScript library that composes multiple React render-props components into a single component, avoiding nested 'render props callback hell'. It supports mapping props from composed components and works with React's Context API consumers.

## Use cases
- compose multiple render props components in react
- avoid nested render props callback hell
- combine multiple react context consumers into one
- flatten render prop components with a mapper function
- compose react apollo mutations and queries cleanly
- use react-powerplug components together without nesting

## When to choose
- you use many render-props components and want flat composition
- you need to combine several Context API consumers in one render
- you want a tiny, dependency-free composition utility

## When to avoid
- your codebase uses hooks instead of render props (React hooks largely replace this pattern)
- you need an actively developed library with recent updates
- you only compose one or two components

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

## Member repositories
- pedronauck/react-adopt (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:18.861055+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-30T03:44:32.265690+00:00, confidence not recorded.
  - readme: https://github.com/pedronauck/react-adopt (fetched 2026-08-28T04:05:18.861055+00:00, sha 0ffaf6fd27f6)
  - registry_npm: https://registry.npmjs.org/react-adopt (fetched 2026-08-29T11:17:03.029607+00:00, sha 664ec2aea975)
- Data as of 2026-08-30T08:39:29.467469+00:00.
