# desko27/react-call

Call & Await React Components

Repository: https://github.com/desko27/react-call
Canonical: https://ross.abutalabs.com/products/react-call
Homepage: https://react-call.desko.dev
Language: TypeScript
License Family: other
Topics: react, dialog, pattern, typescript
Last push: 2026-08-16T22:19:39+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 89, longevity 53
- inputs: {"age_days": 753, "days_push": 17, "days_rel": 73, "gap_med": 21, "n_releases_24m": 10}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1367, forks 24 (observed 2026-08-28T04:04:31.437268+00:00)

## What it is
react-call is a tiny TypeScript library that lets you turn React components into callable async functions via createCallable(), so UI like dialogs, confirmations, and pickers resolve with a value when awaited. It is dependency-free, under 1 KB, and supports SSR and React Native.

## Use cases
- await a confirmation dialog and get the user's answer as a value
- show a modal form and resolve it with the submitted data
- build command palettes and context menus that return the chosen action
- display toasts or notifications that can be updated or awaited
- replace window.confirm with a custom-styled promise-based dialog
- run multi-step wizards that resolve with the final form result

## When to choose
- you want imperative, promise-based control of dialogs from anywhere in your code
- you need a tiny, dependency-free solution that works with SSR and React Native
- you're tired of wiring prop callbacks and state for every modal or picker

## When to avoid
- you prefer purely declarative modal state managed with hooks or context
- your project doesn't use React
- you need a full-featured component library with prebuilt UI

## Facets
- artifact type: library
- maturity: active
- function: ui-components, state-management, frontend-framework
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: react, async-components, dialog, promise-based-ui, typescript, imperative-api, modals, web-server, nodejs

## Member repositories
- desko27/react-call (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:31.437268+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-30T04:41:07.138594+00:00, confidence not recorded.
  - readme: https://github.com/desko27/react-call (fetched 2026-08-28T04:04:31.437268+00:00, sha 1be6cd2de2d9)
  - homepage: https://react-call.desko.dev (fetched 2026-08-29T11:58:30.061795+00:00, sha 9800e0c9b52d)
  - registry_npm: https://registry.npmjs.org/react-call (fetched 2026-08-29T11:58:30.071028+00:00, sha e668b49afdc3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
