Closed apaleslimghost closed 8 years ago
The readme has a link to the hot module replacement API documentation.
I agree the readme needs a little more information on getting started with it. I expect that most people using hot module replacement are (or should be) using other tools to automatically apply or wrap around it, like react-transform-hmr and ud, rather than using calls to module.hot.*
themselves, so I don't want the readme to introduce people to hot module replacement by explaining the module.hot.*
functions first. Because Webpack already has decent documentation on those functions, I'd rather link to them (also to help emphasize the fact that this project is compatible with code using those functions with Webpack).
I've added a "Hot Module Replacement Usage" section to the readme which I hope functions as a better introduction to the plugin.
That's great, thanks.
If you're not coming from Webpack, there's no way of knowing this is needed.