beekai-oss/little-state-machine
📠 React custom hook for persist state management observed · 2026-08-28
Health v2 · maintenance only
34/100
- Activity 0
- Release rhythm 40
- 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: 25
- age_days: 2704
- days_rel: 600
- days_push: 600
- n_releases_24m: 2
Adoption not part of the score
1539 stars · 51 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Little State Machine is a tiny (715B gzipped) React hook library for global state management with built-in persistence to sessionStorage or localStorage. It provides a createStore initializer and a useStateMachine hook with actions, selectors, and middleware support.
Use cases
- manage global state in a react app with a tiny library
- persist react state across page reloads
- share state between components without redux
- build multi-step forms with persisted state
- optimize re-renders with state selectors
When to choose
- you want a zero-dependency, sub-kilobyte state solution
- you need automatic state persistence in session or local storage
- you prefer a simple flux-style hook API over heavier libraries
When to avoid
- you need devtools, time-travel debugging, or a large ecosystem
- you require complex async middleware or normalized state graphs
- your project is not React-based
Facets
library · maturity stable
state-management caching frontend web-development react-hooks flux state-machine session-storage tiny-library web-server nodejs
2 sources
- readme: https://github.com/beekai-oss/little-state-machine · fetched 2026-08-28 · cadd74bb1cf8
- homepage: https://lrz5wloklm.csb.app/ · fetched 2026-08-29 · e3f43543e979
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| beekai-oss/little-state-machine | main | 34 |
For agents
markdown · JSON · MCP: product_card(name="beekai-oss/little-state-machine")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem