Angular 11 | Hot Module Replacement | Save development time

What is the problem for now ?

How we can solve this problem ?

How we can use HMR using Angular 11 ?

Github repo link to try

  1. checkout this repo
  2. open command prompt and go till hot-module-reload folder
  3. run npm install
  4. to run the code in hmr mode (hot module replacement) mode, just run npm run start:hmr
  5. once above command is executed then you will be able to see below screen

Lets also try to put some value to textbox



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store