PatrickJS / angular-hmr

:fire: Angular Hot Module Replacement for Hot Module Reloading
https://patrickjs.com
Apache License 2.0
505 stars 46 forks source link

fix(render): fix duplicated elements with angular 4.2.x+ #53

Closed admosity closed 7 years ago

admosity commented 7 years ago

fixes #52

PatrickJS commented 7 years ago

thanks

PatrickJS commented 7 years ago

this won't work in ie so we have to use removeChild

PatrickJS commented 7 years ago

If angular is not removing the host element anymore then just don't invoke this helper. The reason I created this was due to angular removing the host element on destory