# Pinia: 8.0 out of 10

A strong pick. 3rd of 10 in [State and data fetching](https://elestia.ai/opensource/state-and-data/index.md).

Pinia is Vue's official store. It is typed, light, and built on the Composition API, with DevTools, SSR and Nuxt support. For any new Vue 3 or Nuxt app it is the default way to hold client state, but it only works with Vue and does not cache or refetch server data.

**Best for:** Vue 3 and Nuxt teams that want the official, typed store for shared client state.

## Scores

- **Overall: 8.0** (likely 7.0 to 8.8)
  - Claude Opus 5.5 (8.0): For any Vue 3 or Nuxt project, Pinia is the clear default for client state. It is official, well maintained, typed and safe. It ranks below the framework-agnostic leaders of this category because it serves Vue only, needs a companion library for server data, and grows below the median.
  - GPT-6.2 Sol (8.0): Pinia is a strong first choice for shared client state in a new Vue 3 or Nuxt app. Its typed stores, active maintenance, and Vue’s recommendation carry more weight than its below-median download growth. Pick TanStack Query when the main job is keeping remote data fresh. The range reflects uncertainty about v4’s longer-term track record and how many new Vue projects need a dedicated store.
- **Needed by many: 3.9** (likely 2.9 to 4.9)
  - Claude Opus 5.5 (4.0): Pinia serves only Vue, which is a minority of JavaScript front-end work next to React. Within Vue apps, most projects with shared state need it. It does not cover the server-data half of the category's job.
  - GPT-6.2 Sol (3.8): Shared application state is a common frontend need, and current Pinia serves Vue 3 and Nuxt. Vue was used by 17.2% of respondents who answered the 2026 Stack Overflow web technologies question. That gives a sense of Vue’s reach, and the share of those projects that need a dedicated store is harder to estimate.
- **Helps a lot: 8.4** (likely 7.3 to 9.1)
  - Claude Opus 5.5 (8.5): For Vue client state it is the best tool available. It has typed setup and option stores, DevTools, SSR hydration, HMR, plugins and a testing package. v4 improved its error messages with Nostics and cut install size. It does not cache or deduplicate server data, so it covers only half of the category's job, and that keeps it below 9.
  - GPT-6.2 Sol (8.2): Pinia 4.1.0 combines strong type inference with Vue reactivity, DevTools, and test helpers. Clear store examples and structured diagnostics help developers and coding agents catch common mistakes. Developers running Vue apps report using TanStack Query alongside Pinia for server-data caching and refresh. Recent user reports establish the practical fit more clearly than the available performance measurements.
- **Holds up over time: 8.0** (likely 6.9 to 9.0)
  - Claude Opus 5.5 (8.0): It is an official Vue-org project with steady work: 137 commits and 12 releases in the last year, only 13 open issues, and Nuxt 5 compatibility already shipped. Most of the work rests on one core maintainer. Majors arrive about yearly, though each one breaks little.
  - GPT-6.2 Sol (8.0): Vue’s recommendation and 137 commits in the past year make Pinia a good two-year bet. The core package shipped five versions, and two patches addressed type packaging within a day of the v4 launch. Some pull requests have waited years, and the move to ESM adds work for older toolchains. The lead maintainer has sponsor backing, and the number of people who can publish a release remains unclear.
- **Used widely: 6.0** (likely 4.9 to 7.1)
  - Claude Opus 5.5 (6.5): Pinia had 30M downloads in four weeks and 20.5k dependent repositories, which means it is in a large share of Vue apps. Its 3.1x growth over the year is below the 4.1x median, so it is losing a little relative ground. That fits a mature near-monopoly inside a framework that is not growing fast.
  - GPT-6.2 Sol (5.4): Ecosyste.ms found about 20,500 dependent repositories and 2,400 packages, below Redux Toolkit and Zustand and near TanStack Query’s tracked repository count. Four-week downloads rose from 9.6 million to 30.0 million, or 3.13× year over year, below the catalog median of 4.1×. The repository has about 14,800 stars and received 13 Bluesky links, both covering companion packages as well as core Pinia. Incomplete dependency coverage, automated installs, and installs through integrations such as the Nuxt module limit what those figures say about new project choices.
- **Vouched for: 7.8** (likely 6.7 to 8.8)
  - Claude Opus 5.5 (7.5): The Vue core team recommends Pinia as the official store, and the State of Vue.js report shows about 80% use. Nuxt and Sentry provide first-party integrations. I found few independent benchmarks, and the survey figures reached me through secondary write-ups.
  - GPT-6.2 Sol (8.0): Vue recommends Pinia, Sentry maintains a dedicated integration, and Directus lists Pinia in its app dependencies. runZero’s software bill of materials lists the current 4.1.0 release. More than 80% of respondents in the 2025 State of Vue survey reported using Pinia for global state. That survey measures use, and independent evidence on satisfaction and comparative performance is thinner.
- **Safe: 8.1** (likely 6.9 to 8.9)
  - Claude Opus 5.5 (8.5): Pinia has no advisories ever, one runtime dependency and an MIT licence. In v4, devtools moved to a peer dependency and install size dropped. There is no Scorecard data, and releases come from a small group of people, which keeps the range open.
  - GPT-6.2 Sol (7.7): Pinia has a permissive MIT license, a small dependency footprint, and no published advisories in OSV or GitHub. An open DevTools import hardening patch leaves some uncertainty about the current release. The GitHub release commit is signed, and npm shows one listed collaborator. npm publication controls remain unverified, and the bundle has no OpenSSF Scorecard result.

## Good

- It is the official Vue store, and the State of Vue.js 2025 report puts its use at about 80% of Vue developers.
- It needs little boilerplate: setup stores with no mutations, and full TypeScript inference without extra typing.
- It has first-party DevTools, SSR hydration, HMR, a Nuxt module and a testing package.
- It has a small surface: one runtime dependency, an MIT licence and no known advisories.

## Bad

- It only works with Vue, so React, Svelte or framework-agnostic projects cannot use it.
- It does not handle server-data caching or refetching, so you still need Pinia Colada or TanStack Vue Query for that.
- It has had two majors in two years: v3 dropped Vue 2, and v4 went ESM-only with @vue/devtools-api as a required peer.
- Its download growth (about 3.1x year over year) is below the 4.1x median and well behind the leading React peers.

## The numbers

- Downloads, 4 weeks: 30M
- In a year: ×3.1
- GitHub stars: 15k
- Commits, 12 months: 137
- Last npm release: Oct 2026
- Advisories, 24 months: 0
- Licence: MIT
- GitHub: https://github.com/vuejs/pinia
- npm: https://www.npmjs.com/package/pinia

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.
