# pmndrs/valtio

🧙 Valtio makes proxy-state simple  for React and Vanilla

Repository: https://github.com/pmndrs/valtio
Canonical: https://ross.abutalabs.com/products/valtio
Homepage: https://valtio.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: react, state, mutable, proxy
Last push: 2026-08-12T23:23:33+00:00

## Health v2 (maintenance only)
Score: 88/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 69, longevity 100
- inputs: {"age_days": 2116, "days_push": 21, "days_rel": 124, "gap_med": 51.0, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10228, forks 290 (observed 2026-08-28T04:10:41.137618+00:00)

## What it is
Valtio is a small TypeScript state management library that wraps objects in JavaScript proxies, letting you mutate state directly while React components re-render only when accessed properties change. It works with React via useSnapshot and also in vanilla JavaScript applications.

## Use cases
- manage react app state with mutable updates
- avoid boilerplate reducers and actions in state management
- optimize react re-renders with fine-grained state subscriptions
- share a global store across react components
- use the same state store in vanilla javascript and react
- build a todo app with simple proxy state

## When to choose
- you prefer mutating state directly instead of immutable update patterns
- you want minimal, unopinionated state management with render optimization
- you need shared state in both React and vanilla JS contexts

## When to avoid
- you need a batteries-included framework with devtools, middleware, and time travel
- your team relies on strict immutable state conventions
- you need state management outside the JS/React ecosystem

## Facets
- artifact type: library
- maturity: active
- function: state-management, frontend-framework
- domain: frontend, web-development
- platform: browser
- tags: react, proxy-state, mutable-state, render-optimization, vanilla-js, store, nodejs, web-server

## Member repositories
- pmndrs/valtio (main) score 88

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:41.137618+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-29T17:19:29.062343+00:00, confidence not recorded.
  - readme: https://github.com/pmndrs/valtio (fetched 2026-08-28T04:10:41.137618+00:00, sha 8d0e7a1b7e38)
  - homepage: https://valtio.dev (fetched 2026-08-29T08:19:20.428502+00:00, sha a6ff10d225ca)
  - site_page: https://valtio.dev/docs/introduction/getting-started (fetched 2026-08-29T08:19:20.438118+00:00, sha 46107a2f90a3)
  - registry_npm: https://registry.npmjs.org/valtio (fetched 2026-08-29T08:19:20.440660+00:00, sha 3d2b435c9016)
- Data as of 2026-08-30T08:39:29.467469+00:00.
