HMR injects duplicate angular markup into the page #1032

Closed
opened 2025-08-09 17:18:36 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @stevetayloruk on 2/11/2017

When modifing a file, such as a .ts or .css file, for example:

this.currentCount++;
to
this.currentCount = this.currentCount + 2 ;

Then the component gets rendered twice in the page like so:

image

I'm using the latest yeoman project but not the experimental angular option.

thanks

*Originally created by @stevetayloruk on 2/11/2017* When modifing a file, such as a .ts or .css file, for example: `this.currentCount++;` to `this.currentCount = this.currentCount + 2 ;` Then the component gets rendered twice in the page like so: ![image](https://cloud.githubusercontent.com/assets/5065543/22854260/2b4d07ea-f062-11e6-8e68-cebf6a5bf369.png) I'm using the latest yeoman project but not the experimental angular option. thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1032
No description provided.