avkonst/hookstate
The simple but very powerful and incredibly fast state management for React that is based on hooks observed · 2026-08-28
Health v2 · maintenance only
28/100
- Activity 12
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2652
- days_rel: n/a
- days_push: 531
- n_releases_24m: 0
Adoption not part of the score
1652 stars · 106 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
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
library · maturity active
state-management frontend-framework plugin-system web-development frontend developer-tools browser cross-platform react react-hooks typescript redux-alternative global-state proxy-based-tracking devtools local-storage-persistence nodejs web-server
7 sources
- readme: https://github.com/avkonst/hookstate · fetched 2026-08-28 · a28caa689806
- homepage: https://hookstate.js.org · fetched 2026-08-29 · b79d8d0d6f79
- site_page: https://hookstate.js.org/docs/getting-started · fetched 2026-08-29 · 85675c591a79
- site_page: https://hookstate.js.org/docs/performance-intro · fetched 2026-08-29 · 41bf75b1af7e
- site_page: https://hookstate.js.org/docs/extensions-overview · fetched 2026-08-29 · c8c9cd76c034
- site_page: https://hookstate.js.org/docs/devtools · fetched 2026-08-29 · c58ef3b51387
- site_page: https://hookstate.js.org/docs/typedoc-hookstate-core · fetched 2026-08-29 · 275e5e544613
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| avkonst/hookstate | main | 28 |
For agents
markdown · JSON · MCP: product_card(name="avkonst/hookstate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem