# ctrlplusb/react-async-component

Resolve components asynchronously, with support for code splitting and advanced server side rendering use cases.

Repository: https://github.com/ctrlplusb/react-async-component
Canonical: https://ross.abutalabs.com/products/react-async-component
Language: JavaScript
License: MIT
License Family: permissive
Topics: async-component, react, code-splitting, webpack, ssr
Last push: 2022-12-07T09:43:56+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3515, "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 1436, forks 61 (observed 2026-08-28T04:04:43.651633+00:00)

## What it is
A React library for resolving components asynchronously with support for code splitting and advanced server side rendering. It provides a Promise-based API for lazy-loading components with loading and error states, plus client-side state rehydration to avoid checksum errors.

## Use cases
- lazy load react components with a loading spinner
- code split my react app with import()
- server side render react components that load asynchronously
- avoid react checksum errors with async components
- show error component when chunk loading fails
- prevent flash of content for already resolved components

## When to choose
- you need async React components with full SSR support and state rehydration
- you want a bundler-agnostic code splitting API that works with any major splitting mechanism
- you need loading and error component states out of the box

## When to avoid
- you use modern React 18+ where React.lazy and Suspense cover most needs
- you need an actively maintained library with recent updates
- you only do client-side rendering without SSR complexity

## Facets
- artifact type: library
- maturity: maintenance
- function: ssr, frontend-framework, ui-components
- domain: web-development, frontend
- platform: browser
- tags: react, code-splitting, lazy-loading, async-components, webpack, nodejs, web-server

## Member repositories
- ctrlplusb/react-async-component (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.651633+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:36:47.111294+00:00, confidence not recorded.
  - readme: https://github.com/ctrlplusb/react-async-component (fetched 2026-08-28T04:04:43.651633+00:00, sha 8e2aa541b032)
  - registry_npm: https://registry.npmjs.org/react-async-component (fetched 2026-08-29T11:47:40.328090+00:00, sha 86ca977dd445)
- Data as of 2026-08-30T08:39:29.467469+00:00.
