# @ngrx/component-store

> Reactive store for component state

Latest version **22.0.1** (published 2026-09-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install @ngrx/component-store
pnpm add @ngrx/component-store
yarn add @ngrx/component-store
bun add @ngrx/component-store
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 22.0.1 |
| Published | 2026-09-10 |
| First published | 2020-06-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 1 |
| Unpacked size | 278.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 8345 |
| Author | NgRx |
| Maintainers | ngrxadmin, robwormald, mikeryan52, brandonroberts |
| Keywords | Angular, Redux, NgRx, Schematics, Local State, Component State, State management |

## Links

- npm: https://www.npmjs.com/package/@ngrx/component-store
- Repository: https://github.com/ngrx/platform
- Homepage: https://github.com/ngrx/platform#readme
- Issues: https://github.com/ngrx/platform/issues
- npm.io page: https://npm.io/package/@ngrx/component-store

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^2.0.0

## Alternatives

- [@reckona/mreact-store](https://npm.io/package/@reckona/mreact-store.md) — 976 weekly downloads
- [regular-state](https://npm.io/package/regular-state.md) — 410 weekly downloads
- [@pacote/flux-actions](https://npm.io/package/@pacote/flux-actions.md) — 65 weekly downloads
- [@pilotlab/lux-debug](https://npm.io/package/@pilotlab/lux-debug.md) — 39 weekly downloads
- [vue-persist-state](https://npm.io/package/vue-persist-state.md) — 19 weekly downloads

## Recent versions

- 22.0.1 (latest) — 2026-09-10
- 22.0.0-rc.0 (next) — 2026-08-06
- 14.3.3 (v14-lts) — 2023-01-16
- 22.0.0 — 2026-08-24
- 22.0.0-beta.1 — 2026-08-04
- 22.0.0-beta.0 — 2026-07-21
- 21.1.1 — 2026-06-08
- 21.1.0 — 2026-03-24
- 21.0.1 — 2025-12-22
- 21.0.0 — 2025-12-18
- 21.0.0-rc.0 — 2025-12-16
- 21.0.0-beta.0 — 2025-12-04
- 20.1.0 — 2025-10-22
- 20.0.1 — 2025-08-25
- 20.0.0 — 2025-07-28
- … 85 more at https://npm.io/package/@ngrx/component-store/versions

## README

# @ngrx/component-store

The sources for this package are in the main [NgRx](https://github.com/ngrx/platform) repo. Please file issues and pull requests against that repo.

---
_Source: https://npm.io/package/@ngrx/component-store · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
