4 ms·
Interesting idea for keeping your HTML in one place, but the advantages are marginal over the alternatives (i.e. CSS abuse or inlining your HTML in JavaScript).
by halo 18y ago
Interesting idea for keeping your HTML in one place, but the advantages are marginal over the alternatives (i.e. CSS abuse or inlining your HTML in JavaScript).
- warfangle 18y agoPlus, you'll have a brief flash of content before the comment markup is appended to their respective parent nodes - especially if you wait for the dom to be loaded... And searching through the entire dom tree, finding each content, and then parsing each content for delimeters etc? Seems like overkill....