# @graphiql/plugin-history

> - `useHistory`: Persists executed requests in storage - `useHistoryActions`: Actions related to the history

Latest version **0.4.4** (published 2026-08-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @graphiql/plugin-history
pnpm add @graphiql/plugin-history
yarn add @graphiql/plugin-history
bun add @graphiql/plugin-history
```

## Health

**Score 80/100 (A)** — status: active.

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.4.4 |
| Published | 2026-08-30 |
| First published | 2025-05-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 3 |
| Unpacked size | 48.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 16909 |
| Maintainers | benjie, mjmahone, leebyron, i1g |
| Keywords | react, graphql, graphiql, plugin, history |

## Links

- npm: https://www.npmjs.com/package/@graphiql/plugin-history
- Repository: https://github.com/graphql/graphiql
- Homepage: https://github.com/graphql/graphiql/tree/master/packages/graphiql-plugin-history#readme
- Issues: https://github.com/graphql/graphiql/issues?q=issue+label:@graphiql/plugin-history
- npm.io page: https://npm.io/package/@graphiql/plugin-history

## Dependencies (3)

- [zustand](https://npm.io/package/zustand.md) ^5
- [@graphiql/toolkit](https://npm.io/package/@graphiql/toolkit.md) ^0.12.0
- [react-compiler-runtime](https://npm.io/package/react-compiler-runtime.md) 19.1.0-rc.1

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 0.4.4 (latest) — 2026-08-30
- 1.0.0-rc.2 (rc) — 2026-10-12
- 1.0.0-beta.4 (beta) — 2026-09-28
- 0.4.3-alpha.1 (alpha) — 2026-05-19
- 0.4.2-canary-67317292.0 (canary) — 2025-11-30
- 1.0.0-rc.1 — 2026-09-30
- 1.0.0-rc.0 — 2026-09-28
- 1.0.0-beta.3 — 2026-09-28
- 1.0.0-beta.2 — 2026-09-26
- 1.0.0-beta.1 — 2026-08-29
- 1.0.0-beta.0 — 2026-08-29
- 0.4.3 — 2026-08-25
- 0.4.3-alpha.0 — 2026-05-19
- 0.4.2 — 2026-05-11
- 0.4.2-canary-c3a87e41.0 — 2025-11-30
- … 117 more at https://npm.io/package/@graphiql/plugin-history/versions

## README

# `@graphiql/plugin-history`

## API

- `useHistory`: Persists executed requests in storage
- `useHistoryActions`: Actions related to the history

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