# dai-shi/react-hooks-global-state

[NOT MAINTAINED] Simple global state for React with Hooks API without Context API

Repository: https://github.com/dai-shi/react-hooks-global-state
Canonical: https://ross.abutalabs.com/products/react-hooks-global-state
Homepage: https://www.npmjs.com/package/react-hooks-global-state
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, state-management, function-components, hooks-api-react, typescript
Last push: 2023-08-29T08:16:18+00:00

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

## Adoption (not part of the score)
Stars 1097, forks 61 (observed 2026-08-28T04:03:34.536974+00:00)

## What it is
A small React library providing simple global state management via Hooks API without Context, supporting both setState-style and reducer-style APIs with TypeScript type inference. It is no longer maintained; the author recommends using Zustand instead.

## Use cases
- manage global state in React without Context API
- share state between function components using hooks
- use a reducer-style global store in React
- get typed global state hooks with TypeScript
- use Redux middleware with a lightweight global state

## When to choose
- you are maintaining a legacy project already using this library
- you want a minimal setState-style global state without Context

## When to avoid
- starting a new project - use Zustand instead
- you need deep state optimization or a maintained library
- you need large-scale state management with active support

## Facets
- artifact type: library
- maturity: abandoned
- function: state-management
- domain: frontend, web-development, developer-tools
- platform: cross-platform
- tags: react, hooks, global-state, typescript, not-maintained, use-zustand, nodejs

## Member repositories
- dai-shi/react-hooks-global-state (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:34.536974+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-30T06:46:24.057974+00:00, confidence not recorded.
  - readme: https://github.com/dai-shi/react-hooks-global-state (fetched 2026-08-28T04:03:34.536974+00:00, sha 2f8c0e9ac209)
  - registry_npm: https://registry.npmjs.org/react-hooks-global-state (fetched 2026-08-29T12:49:39.571265+00:00, sha c9244e9e61a9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
