# developit/unistore

🌶 350b / 650b state container with component actions for Preact & React

Repository: https://github.com/developit/unistore
Canonical: https://ross.abutalabs.com/products/unistore
Homepage: https://npm.im/unistore
Language: JavaScript
License Family: other
Topics: preact, redux, state, subscription, architecture, unistore
Last push: 2021-06-07T10:00:27+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3192, "days_push": 1913, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2846, forks 134 (observed 2026-08-28T04:07:24.975505+00:00)

## What it is
Unistore is a tiny (~350b) centralized state container with component bindings for Preact and React. It offers Redux-like actions and selectors in a minimal footprint.

## Use cases
- manage shared application state in a Preact app
- manage shared application state in a React app
- replace Redux with a much smaller state container
- connect components to a central store with selectors
- run app state in a web worker via Stockroom

## When to choose
- you want Redux-like state management with a minimal bundle size
- you use Preact or React and need simple centralized state
- you prefer actions that are just plain functions returning state updates

## When to avoid
- you need middleware, devtools, or a large ecosystem of extensions
- you need a maintained project with active releases
- your state management needs complex async flows or normalization

## Facets
- artifact type: library
- maturity: maintenance
- function: state-management
- domain: frontend, web-development
- platform: browser
- tags: preact, react, redux-alternative, tiny, store, nodejs

## Member repositories
- developit/unistore (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:24.975505+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-30T07:37:02.274913+00:00, confidence not recorded.
  - readme: https://github.com/developit/unistore (fetched 2026-08-28T04:07:24.975505+00:00, sha 1bd9c29e0490)
  - registry_npm: https://registry.npmjs.org/unistore (fetched 2026-08-29T09:52:53.471282+00:00, sha 44adcccb0854)
- Data as of 2026-08-30T08:39:29.467469+00:00.
