Khashayar Pakkhesal
Khashayar Pakkhesal

Reputation: 434

so many comment tags in blazor rendered html file

I was wondering if anyone knows why there are so many empty comment tags <!--!--> in blazor rendered HTML file I installed 2 projects, and when I started the project I saw all of these comments I also downloaded a project and saw these comments in there too

enter image description here

Upvotes: 20

Views: 3420

Answers (1)

Chris Sainty
Chris Sainty

Reputation: 8521

The comment tags are generated by the Blazor framework to help track which parts of the DOM correspond to which Blazor Components.

Upvotes: 23

Related Questions