# ReactTraining/react-broadcast

Reliably communicate state changes to deeply nested React elements

Repository: https://github.com/ReactTraining/react-broadcast
Canonical: https://ross.abutalabs.com/products/react-broadcast
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2022-11-20T03:30:26+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3625, "days_push": 1382, "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 1314, forks 58 (observed 2026-08-28T04:04:20.469100+00:00)

## What it is
A small React library that reliably propagates state changes to deeply nested components, bypassing intermediaries that block updates via shouldComponentUpdate. It was originally built to let react-router communicate with components deep in the tree when used alongside react-redux.

## Use cases
- pass state changes past components that return false from shouldComponentUpdate
- share router state with deeply nested React components
- build a provider/consumer channel without prop drilling
- make react-router work seamlessly with react-redux
- publish state updates to subscribers anywhere in the component tree

## When to choose
- maintaining a legacy React app that still depends on it
- working with old React versions that lack the modern Context API
- needing update propagation through shouldComponentUpdate blockers in pre-hooks React

## When to avoid
- starting a new React project - use the built-in Context API instead
- using modern React (16.3+) where createContext is native
- needing a maintained solution - the library is experimental and effectively superseded

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, middleware
- domain: frontend, web-development, developer-tools
- platform: browser, cross-platform
- tags: react, context-api, pubsub, legacy, propagation, nodejs

## Member repositories
- ReactTraining/react-broadcast (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:20.469100+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:48:45.123384+00:00, confidence not recorded.
  - readme: https://github.com/ReactTraining/react-broadcast (fetched 2026-08-28T04:04:20.469100+00:00, sha 52039e877819)
  - registry_npm: https://registry.npmjs.org/react-broadcast (fetched 2026-08-29T12:07:32.055024+00:00, sha 8839e0e7a4c9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
