A simple demo for react HMR on webpack.
git clone https://github.com/Winiex/webpack-react-hmr-demo.git
cd webpack-react-hmr-demo
npm install
npm start
Then you can visit the demo in http://localhost:8080/.
- Open app/components/Counter.js
- Change the counter increment in line 20
- Watch the result in browser
Thanks to Using Webpack's Hot Module Replacement with React.