# pmmmwh/react-refresh-webpack-plugin

A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.

Repository: https://github.com/pmmmwh/react-refresh-webpack-plugin
Canonical: https://ross.abutalabs.com/products/react-refresh-webpack-plugin
Language: JavaScript
License: MIT
License Family: permissive
Topics: webpack-plugin, error-overlay, react, fast-refresh, hot-reload
Last push: 2026-08-13T23:01:05+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 97, release rhythm 87, longevity 100
- inputs: {"age_days": 2547, "days_push": 20, "days_rel": 6, "gap_med": 56, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3189, forks 201 (observed 2026-08-28T04:07:48.114378+00:00)

## What it is
A Webpack plugin that enables React Fast Refresh (hot reloading) for React components, preserving state during edits. It integrates with webpack 5 and includes an error overlay for runtime errors.

## Use cases
- enable fast refresh for react components in webpack
- hot reload react app without losing state
- add hot module replacement for react to webpack config
- show error overlay during react development
- set up react fast refresh in a custom webpack setup

## When to choose
- you use webpack 5 and want state-preserving hot reloads for React
- you maintain a custom webpack config instead of a framework CLI
- you need an error overlay during React development

## When to avoid
- you use Vite, Next.js, or CRA which bundle fast refresh already
- your project uses webpack 4 or older React versions
- you need production builds only

## Facets
- artifact type: plugin
- maturity: active
- function: build-tool, developer-tools
- domain: frontend, web-development, developer-tools
- platform: cross-platform
- tags: webpack-plugin, fast-refresh, hot-reload, hmr, react, error-overlay, nodejs

## Member repositories
- pmmmwh/react-refresh-webpack-plugin (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:48.114378+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:24:57.278423+00:00, confidence not recorded.
  - readme: https://github.com/pmmmwh/react-refresh-webpack-plugin (fetched 2026-08-28T04:07:48.114378+00:00, sha 232f6a6a12c7)
  - registry_npm: https://registry.npmjs.org/react-refresh-webpack-plugin (fetched 2026-08-29T09:39:02.442564+00:00, sha c59b7e789c7d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
