# @radix-ui/react-use-previous

Latest version **1.1.4** (published 2026-07-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @radix-ui/react-use-previous
pnpm add @radix-ui/react-use-previous
yarn add @radix-ui/react-use-previous
bun add @radix-ui/react-use-previous
```

## Health

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

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

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 1.1.4 |
| Published | 2026-07-24 |
| First published | 2021-03-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 19247 |
| Maintainers | hadihallak, chancestrickland, mark-workos, npm-workos |

## Links

- npm: https://www.npmjs.com/package/@radix-ui/react-use-previous
- Repository: https://github.com/radix-ui/primitives
- Homepage: https://radix-ui.com/primitives
- Issues: https://github.com/radix-ui/primitives/issues
- npm.io page: https://npm.io/package/@radix-ui/react-use-previous

## Recent versions

- 1.1.4 (latest) — 2026-07-24
- 1.1.2-rc.1780677407053 (next) — 2026-06-05
- 1.1.3 — 2026-07-22
- 1.1.2 — 2026-06-06
- 1.1.2-rc.1780587930776 — 2026-06-04
- 1.1.2-rc.1780526537378 — 2026-06-03
- 1.1.2-rc.1780519056330 — 2026-06-03
- 1.1.2-rc.1780518714688 — 2026-06-03
- 1.1.2-rc.1780518364979 — 2026-06-03
- 1.1.2-rc.1780509379622 — 2026-06-03
- 1.1.2-rc.1780509025158 — 2026-06-03
- 1.1.2-rc.1780446666442 — 2026-06-03
- 1.1.2-rc.1780445221582 — 2026-06-03
- 1.1.1 — 2025-04-08
- 1.1.1-rc.9 — 2025-04-08
- … 108 more at https://npm.io/package/@radix-ui/react-use-previous/versions

## README

# `react-use-previous`

This is an internal utility, not intended for public usage.

---
_Source: https://npm.io/package/@radix-ui/react-use-previous · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
