What exactly is Hot Module Replacement in Webpack?

First I want to note that Hot Module Replacement (HMR) is still an experimental feature. HMR is a way of exchanging modules in a running application (and adding/removing modules). You basically can update changed modules without a full page reload. Documentation Prerequirements: Using Plugins: https://webpack.js.org/concepts/plugins/ Code Splitting: https://webpack.js.org/guides/code-splitting/ webpack-dev-server: https://webpack.js.org/configuration/dev-server/ It’s not so much for … Read more