# react-refresh

> React is a JavaScript library for building user interfaces.

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

## Install

```sh
npm install react-refresh
pnpm add react-refresh
yarn add react-refresh
bun add react-refresh
```

## Health

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

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

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.19.0 |
| Published | 2026-09-09 |
| First published | 2019-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | separate (@types/react-refresh) |
| Module format | ESM + CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Unpacked size | 57.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 250608 |
| Maintainers | react-bot |
| Keywords | react |

## Links

- npm: https://www.npmjs.com/package/react-refresh
- Repository: https://github.com/react/react
- Homepage: https://react.dev/
- Issues: https://github.com/react/react/issues
- npm.io page: https://npm.io/package/react-refresh

## 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.19.0 (latest) — 2026-09-09
- 0.0.0-experimental-59aff3e1-20260918 (experimental) — 2026-09-18
- 0.19.0-canary-59aff3e1-20260918 (canary) — 2026-09-18
- 0.19.0-canary-d5736f09-20260507 (next) — 2026-05-08
- 0.16.0-rc.1 (rc) — 2024-11-14
- 0.16.0-beta-26f2496093-20240514 (beta) — 2024-05-14
- 0.0.0-experimental-2b19aecd-20260916 — 2026-09-16
- 0.19.0-canary-2b19aecd-20260916 — 2026-09-16
- 0.0.0-experimental-ff8f88fc-20260915 — 2026-09-15
- 0.19.0-canary-ff8f88fc-20260915 — 2026-09-15
- 0.0.0-experimental-9b938532-20260914 — 2026-09-14
- 0.19.0-canary-9b938532-20260914 — 2026-09-14
- 0.0.0-experimental-019019be-20260911 — 2026-09-11
- 0.19.0-canary-019019be-20260911 — 2026-09-11
- 0.0.0-experimental-82c44beb-20260910 — 2026-09-10
- … 2719 more at https://npm.io/package/react-refresh/versions

## README

# react-refresh

This package implements the wiring necessary to integrate Fast Refresh into bundlers. Fast Refresh is a feature that lets you edit React components in a running application without losing their state. It is similar to an old feature known as "hot reloading", but Fast Refresh is more reliable and officially supported by React.

This package is primarily aimed at developers of bundler plugins. If you’re working on one, here is a [rough guide](https://github.com/facebook/react/issues/16604#issuecomment-528663101) for Fast Refresh integration using this package.

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