Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

so many comment tags in blazor rendered html file

Tags:

html

c#

.net

blazor

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

like image 271
Khashayar Pakkhesal Avatar asked Oct 06 '19 15:10

Khashayar Pakkhesal


1 Answers

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

like image 103
Chris Sainty Avatar answered Nov 11 '22 17:11

Chris Sainty