Skip to content

Winiex/webpack-react-hmr-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A simple demo for react HMR on webpack.

Installation

git clone https://github.com/Winiex/webpack-react-hmr-demo.git
cd webpack-react-hmr-demo
npm install

Run

npm start

Then you can visit the demo in http://localhost:8080/.

Test HMR functionality

  1. Open app/components/Counter.js
  2. Change the counter increment in line 20
  3. Watch the result in browser

Credits

Thanks to Using Webpack's Hot Module Replacement with React.

About

Hot module reloading demo for react on webpack.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published