DEV Community

Discussion on: ⚡ Hot module replacement in Angular

Collapse
 
nikrou77 profile image
Nicolas

I follow your tutorial but unfortunatly it does not work. Have you a working demo repository ?
The minimal working example can for example contains a form a text field. I put some content in a text field. I change my code and add another text field. The second text field must appear and the other text field must keep its content. Can it works ?
Best regards.

Collapse
 
ctrleffive profile image
Chandu J S

I was using it on my own website. Recently I ported my website to React. I didn't used HMR for angular after that. I'll try to set up a demo and let you know.

Collapse
 
nikrou77 profile image
Nicolas • Edited

I made the switch from React to Angular, professionally only ! I prefer React.
Thanks in advance for your help.

Collapse
 
kazandzhiro profile image
Ivan Kazandzhiev

Hey, did you manage to set up a working demo? I am able to set up but the changes are not reflected (no listener for webpackHotUpdate)
Thank you for listing out the steps to setup :)

Thread Thread
 
ctrleffive profile image
Chandu J S

Hey, i couldnt do that. If you are still having issue, can you share the details?