webpack-dev-server with hot reload reloading entire page with css changes
you can use extract text webpack plugin for css hot reloading instead of whole page/module reloading.below is the guideline to know how to usehttps://github.com/webpack-contrib/extract-text-webpack-pluginhttps://www.npmjs.com/package/extract-text-webpack-plugin
For me it didn't work because I didn't have .babelrc
file in my root directory and with below code inside it.
{ "env": { "development": { "presets": ["react-hmre"] } }}