Reputation: 434
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
Upvotes: 20
Views: 3420
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