react-hmr-example icon indicating copy to clipboard operation
react-hmr-example copied to clipboard

Webpack's Hot Module Replacement with React

Example webpack config using React and HMR

This is an example repo for the Using Webpack's Hot Module Replacement with React tutorial.

To run:

  • clone the repo
  • run npm install
  • run npm start
  • visit http://localhost:8080
  • edit anything in the render method of App.js and see HMR at work.

Pull requests welcome!