# Valtio: 6.5 out of 10

Reasonable, with limits. 10th of 10 in [State and data fetching](https://elestia.ai/opensource/state-and-data/index.md).

Valtio is a small, mature proxy-based state library for React and plain JavaScript. You change state by mutating ordinary objects, and components re-render only for the properties they read. It is a solid niche choice for people who like mutable-style code, but Zustand, from the same collective, is the more common and better-supported default, and Valtio does not handle server data.

**Best for:** React or vanilla JS developers who want to mutate plain objects and get automatic render tracking without selectors.

## Scores

- **Overall: 6.5** (likely 5.4 to 7.6)
  - Claude Opus 5.5 (6.0): It is a well-made, safe, stable library for proxy-based mutable state, and a reasonable pick if you prefer that style. Zustand, from the same maintainers, does the client-state job for more people with more momentum, and Valtio's downloads grow below the median. It also leaves server data to another tool.
  - GPT-6.2 Sol (7.0): Pick Valtio when direct edits to a nested state tree simplify the app. Zustand is the stronger default for general client state given its broader adoption and more active maintenance, and TanStack Query is a better fit for keeping server data fresh. Valtio's snapshot edge cases and slower release cadence put more weight on how well its proxy model fits the project.
- **Needed by many: 4.9** (likely 3.9 to 6.1)
  - Claude Opus 5.5 (5.0): Many React apps need client state, but Valtio covers only the client-state half of the category and none of the server-data half. Its mutable proxy approach appeals to a subset of those developers. It is mainly for React, though the core also works in vanilla JS.
  - GPT-6.2 Sol (4.8): Shared client state is a common need, and Valtio serves React, React Native, and plain JavaScript. Its proxy model is most useful for apps with frequently updated nested state. Built-in React state covers many simpler apps, and the available survey gives little insight into demand for Valtio outside React.
- **Helps a lot: 7.0** (likely 6.0 to 8.0)
  - Claude Opus 5.5 (6.5): The API is small and well typed, and automatic render tracking works well for nested, mutable state. Users and reviewers say debugging is harder than with immutable stores, and the split between proxy and snapshot trips people up. Recent minors deprecated watch and derive and reverted some changes, which shows rough edges. Zustand covers the same job with a larger ecosystem and simpler mental model.
  - GPT-6.2 Sol (7.5): Version 2.3.2 makes nested updates concise and tracks property reads automatically. The TypeScript examples give coding agents a clear starting pattern, though there is little direct evidence on their accuracy and a user reproduced silently dropped writes after putting a snapshot back into state. A Node microbenchmark puts Valtio behind Zustand on its workload, and performance across real apps is less certain. Server cache invalidation and background refetching are outside its API.
- **Holds up over time: 6.3** (likely 5.1 to 7.5)
  - Claude Opus 5.5 (6.5): It is maintained and stable: 3 releases and 33 commits in the last year, and only 2 open issues. Work depends mostly on one maintainer, Daishi Kato, inside the volunteer pmndrs collective, and activity is far lower than at Jotai or Zustand. The low activity looks like maturity, not abandonment.
  - GPT-6.2 Sol (6.0): Valtio recorded 33 commits and three releases over the past year, with a push in October and its latest release in May. The maintainer reviewed the Hermes fix the day it was submitted, and it shipped on the day it merged. Recent releases came from Daishi Kato, and the repository lists GitHub Sponsors for Kato without showing how much maintenance it funds. Zustand and Jotai ship more frequently, and the v3 discussion leaves the next release schedule uncertain.
- **Used widely: 4.8** (likely 3.8 to 5.9)
  - Claude Opus 5.5 (5.0): It has 12.6M downloads per 4 weeks, but the yearly ratio of about 3.0 is below the 4.1 median, so it is losing ground. Much of the volume probably comes from packages that install it as a dependency, such as wallet SDKs. Its 9,665 dependent repos are more than Jotai's but far fewer than Zustand's or Redux Toolkit's.
  - GPT-6.2 Sol (4.6): The collector found 9,665 dependent repositories and 276 npm packages, ahead of Jotai on repositories and well behind Zustand and Redux Toolkit. Four-week downloads rose from 4.14 million to 12.59 million, or 3.04 times, below the 4.1 times catalog baseline and consistent with losing relative ground. Reown AppKit pulls Valtio in downstream, so downloads overstate direct selection by an uncertain amount. The 10,250 stars and 21 Bluesky posts show visible interest, with the top posts coming from the maintainer.
- **Vouched for: 5.3** (likely 3.9 to 6.7)
  - Claude Opus 5.5 (4.5): The pmndrs collective backs it, a book chapter covers it, and some SDKs build on it. No current survey shows high usage for it, and State of React results highlight TanStack Query and Zustand instead. Independent write-ups are mostly tutorials, not production reports.
  - GPT-6.2 Sol (6.0): Reown AppKit uses Valtio in its wallet SDK controllers, and OpenWaters reported simpler state code after switching from Zustand. An external benchmark adds a performance datapoint for one workload. The State of React survey records 12 write-ins and provides no Valtio satisfaction or retention rating, leaving broad user confidence harder to judge.
- **Safe: 7.8** (likely 6.7 to 8.9)
  - Claude Opus 5.5 (8.0): It has no advisories ever, one runtime dependency and the MIT licence. The Scorecard total is 6, with weak Code-Review, Security-Policy and SAST checks, but its workflow, token and pinning checks are strong. Releases rest largely on one maintainer.
  - GPT-6.2 Sol (7.6): The MIT licence is permissive, the package has one direct runtime dependency, and OSV lists zero advisories. The tagged release workflow publishes through GitHub Actions with pinned actions and OIDC permissions. OpenSSF Scorecard gives it 6 out of 10, with weak code-review coverage and no detected security policy. Release signing and the number of people authorized to publish remain unverified.

## Good

- Mutating plain objects directly (state.count++) removes most of the boilerplate.
- useSnapshot tracks the properties a component reads, so you get fine-grained re-renders without writing selectors.
- It is tiny, has one dependency (proxy-compare) and no known advisories.
- The core works outside React, and the issue tracker is kept nearly empty.

## Bad

- You must keep the proxy and the snapshot apart. Reading the wrong one in render or in effects is a common mistake, and debugging is harder than with immutable stores.
- It does not fetch, cache or refresh server data, so you need TanStack Query or SWR next to it.
- Recent 2.x minor releases deprecated watch and derive, made the ops callback opt-in and reverted earlier changes.
- Downloads grow more slowly than the category median, and much of the volume comes from packages that install it as a dependency.

## The numbers

- Downloads, 4 weeks: 13M
- In a year: ×3.0
- GitHub stars: 10k
- Commits, 12 months: 33
- Last npm release: May 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/pmndrs/valtio
- npm: https://www.npmjs.com/package/valtio

Scores run from 0 to 10 and are the mean of the scores of AI reviewers (Claude Opus 5.5, GPT-6.2 Sol), made on 21 November 2026 from GitHub, npm, OSV, OpenSSF Scorecard, ecosyste.ms, Hacker News and Bluesky data and a web search. The ecosyste.ms count of repositories that use a project is far too low for projects that grew in the last few years, and some reviews quote it. Overall is the reviewers' own judgement for a new project today, not an average of the parts. An AI wrote them and can be wrong.
