# avkonst/hookstate

The simple but very powerful and incredibly fast state management for React that is based on hooks

Repository: https://github.com/avkonst/hookstate
Canonical: https://ross.abutalabs.com/products/hookstate
Homepage: https://hookstate.js.org
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, use-state, react-hooks, react-store, react-state-management, react-state, plugin-architecture, redux-alternative, mobx-react-alternative, typescript, react-global-state, hookstate
Last push: 2025-03-20T22:46:54+00:00

## Health v2 (maintenance only)
Score: 28/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 12, release rhythm 8, longevity 100
- inputs: {"age_days": 2652, "days_push": 531, "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 1652, forks 106 (observed 2026-08-28T04:05:17.078262+00:00)

## What it is
Hookstate is a fast, extensible state management library for React built on top of the React state hook, offering both local and global states with first-class TypeScript support. It features Proxy-based usage tracking for efficient rerendering and a plugin/extension system for persistence, validation, snapshots, and devtools.

## Use cases
- manage global state in a React app
- replace Redux or MobX with a simpler hooks-based store
- handle frequent updates to large nested state objects efficiently
- persist React state to browser local storage
- synchronize state across browser tabs
- validate form state and track modified fields
- debug React state changes with browser devtools

## When to choose
- you want a lightweight, zero-dependency alternative to Redux/MobX/Recoil
- your app has large states with frequent updates and needs fine-grained rerender tracking
- you prefer a hooks-first API with strong TypeScript type inference
- you need extensibility via plugins for persistence, validation, or snapshots

## When to avoid
- your project does not use React
- you need a framework-agnostic or server-side-first state solution
- your team is already deeply invested in another state ecosystem like Redux with middleware
- you require a library with a very large community and ecosystem

## Facets
- artifact type: library
- maturity: active
- function: state-management, frontend-framework, plugin-system
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: react, react-hooks, typescript, redux-alternative, global-state, proxy-based-tracking, devtools, local-storage-persistence, nodejs, web-server

## Member repositories
- avkonst/hookstate (main) score 28

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:17.078262+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:44:59.658522+00:00, confidence not recorded.
  - readme: https://github.com/avkonst/hookstate (fetched 2026-08-28T04:05:17.078262+00:00, sha a28caa689806)
  - homepage: https://hookstate.js.org (fetched 2026-08-29T11:18:23.029477+00:00, sha b79d8d0d6f79)
  - site_page: https://hookstate.js.org/docs/getting-started (fetched 2026-08-29T11:18:23.033151+00:00, sha 85675c591a79)
  - site_page: https://hookstate.js.org/docs/performance-intro (fetched 2026-08-29T11:18:23.034978+00:00, sha 41bf75b1af7e)
  - site_page: https://hookstate.js.org/docs/extensions-overview (fetched 2026-08-29T11:18:23.036444+00:00, sha c8c9cd76c034)
  - site_page: https://hookstate.js.org/docs/devtools (fetched 2026-08-29T11:18:23.037882+00:00, sha c58ef3b51387)
  - site_page: https://hookstate.js.org/docs/typedoc-hookstate-core (fetched 2026-08-29T11:18:23.039369+00:00, sha 275e5e544613)
- Data as of 2026-08-30T08:39:29.467469+00:00.
