finds.dev

gaearon/react-hot-boilerplate

Minimal live-editing example for React

View on GitHub

★ 3,892JavaScriptMITupdated Aug 2020

// the take

Dan Abramov's original minimal demo for React Hot Loader — live editing React components without losing state. It is explicitly deprecated and points to react-refresh-webpack-plugin as the replacement. There is no reason to start a new project from this.

Historically significant as the proof-of-concept that made HMR for React mainstream. The setup is genuinely minimal — eight files, easy to read if you want to understand how the original hot loader wired into webpack. Good reference for understanding what react-refresh replaced and why.

Deprecated since at least 2020, last touched five years ago. React Hot Loader itself has known issues with hooks that react-refresh solves. The webpack config and babel setup reflect 2017-era conventions. Anyone cloning this for a real project is starting in a hole.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
3,892
Forks
858
Language
JavaScript
License
MIT
Last commit
21 Aug 2020

// nearby

If react-hot-boilerplate isn't quite it.

All repos →