# CharlesStover/reactn

React, but with built-in global state management.

Repository: https://github.com/CharlesStover/reactn
Canonical: https://ross.abutalabs.com/products/reactn
Homepage: https://www.npmjs.com/package/reactn
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, reactjs, npm, state-management, javascript, js, travis, travis-ci, travisci, webpack, babel, babeljs, typescript
Archived: true
Last push: 2023-02-14T03:24:19+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 2895, "days_push": 1296, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1869, forks 86 (observed 2026-08-28T04:05:46.660873+00:00)

## What it is
ReactN is a drop-in extension of React that adds built-in global state management, exposing hooks like useGlobal and useDispatch as well as class component support via this.global and a @reactn decorator. It aims to make global state feel like native React state without third-party boilerplate.

## Use cases
- manage global state in react apps without redux
- share state between react components with hooks
- replace redux with simpler global state
- use global reducers in react function components
- add global state to react class components
- avoid boilerplate in react state management

## When to choose
- you want global state that feels like native React useState/useReducer
- you maintain a legacy React codebase with class components
- you want a minimal, zero-boilerplate alternative to Redux

## When to avoid
- you need a actively maintained library - the last release was 2023 and development has stalled
- you need middleware, devtools, or a large ecosystem around your state management
- you are starting a new project where Redux Toolkit, Zustand, or Jotai are better supported

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management, frontend-framework
- domain: frontend, web-development, developer-tools
- platform: cross-platform
- tags: react, global-state, hooks, typescript, redux-alternative, nodejs, web-server

## Member repositories
- CharlesStover/reactn (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.660873+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:15:07.012272+00:00, confidence not recorded.
  - readme: https://github.com/CharlesStover/reactn (fetched 2026-08-28T04:05:46.660873+00:00, sha 15b15a632742)
  - homepage: https://www.npmjs.com/package/reactn (fetched 2026-08-29T10:54:22.764613+00:00, sha 694a7cacc698)
  - registry_npm: https://registry.npmjs.org/reactn (fetched 2026-08-29T10:54:22.774946+00:00, sha d29020b7f4e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
