# async-library/react-async

🍾 Flexible promise-based React data loader

Repository: https://github.com/async-library/react-async
Canonical: https://ross.abutalabs.com/products/react-async
Homepage: https://docs.react-async.com/
Language: JavaScript
License: ISC
License Family: permissive
Last push: 2026-08-25T13:58:07+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 8, longevity 100
- inputs: {"age_days": 2943, "days_push": 8, "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 2140, forks 86 (observed 2026-08-28T04:06:18.328446+00:00)

## What it is
React Async is a promise-based React library for declarative data fetching and asynchronous state handling, offering a component, helper components, and useAsync/useFetch hooks. It works with fetch, Axios, GraphQL, or any promise-returning function, with optional DevTools and experimental Suspense support.

## Use cases
- handle loading, error, and data states for fetch requests in React
- resolve promises declaratively in React components
- fetch API data with a React hook
- replace Redux-style global data fetching with component-level loading
- debug async UI states in React apps
- server-side rendering with async data

## When to choose
- you want declarative, component-level promise resolution without a global store
- you use fetch, Axios, or GraphQL and need consistent async state handling
- you prefer hooks or render props over heavyweight data-fetching frameworks
- you need on-demand, parallel data loading decoupled from routing

## When to avoid
- you already use React Query/SWR or a framework with built-in data fetching
- you need global cache, deduplication, or advanced cache invalidation features
- you need ES5 output without configuring your own transpilation
- you want a library under very active development

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, state-management, middleware
- domain: frontend, web-development, apis
- platform: browser, cross-platform
- tags: react, hooks, promise, data-fetching, render-props, suspense, async, nodejs

## Member repositories
- async-library/react-async (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:18.328446+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:51:27.866725+00:00, confidence not recorded.
  - readme: https://github.com/async-library/react-async (fetched 2026-08-28T04:06:18.328446+00:00, sha 7577a9e8cce8)
  - homepage: https://docs.react-async.com/ (fetched 2026-08-29T10:31:48.780315+00:00, sha 6ba52b8f790b)
  - site_page: https://docs.react-async.com/getting-started/installation (fetched 2026-08-29T10:31:48.789563+00:00, sha 906ab96ba3a6)
  - site_page: https://docs.react-async.com/getting-started/upgrading (fetched 2026-08-29T10:31:48.791567+00:00, sha aefd1840e344)
  - site_page: https://docs.react-async.com/getting-started/usage (fetched 2026-08-29T10:31:48.793280+00:00, sha f08eb671e753)
  - site_page: https://docs.react-async.com/getting-started/devtools (fetched 2026-08-29T10:31:48.795055+00:00, sha 5144c5d4f2c6)
  - registry_npm: https://registry.npmjs.org/react-async (fetched 2026-08-29T10:31:48.796647+00:00, sha 012e069be326)
- Data as of 2026-08-30T08:39:29.467469+00:00.
