1. 程式人生 > >Webpack’s HMR & React-Hot-Loader

Webpack’s HMR & React-Hot-Loader

Webpack’s HMR & React-Hot-Loader — The Missing Manual

Webpack’s HMR along with React-Hot-Loader makes developing React apps very productive. But depending on the type of the React app (client and server) you are building, setting them up could be challenging. Further, Webpack itself is very flexible and provides various ways to enable HMR and some of them may not

be good for YOUR app.

So in this blog I’ll go over 3 ways of enabling up Webpack’s HMR and then go over 3 React app scenarios and show how to set them up. I’ll also cover some of the “confusing” parts along the way