News for hackers. Stuff that matters.
Re:Introducing: JSHTML by mustpax on Wednesday April 15, 2009 @09:40AM (#563421)
If you're embedding the HTML inside the document at render time, why not just render it straight up without the comments? If you want the HTML fragment to appear only when JavaScript is present, include style="display: none" at first, and set display = 'block' after onload.

This could be useful as a mini-templating engine for JavaScript but the article doesn't talk about that. I'd still be concerned about the performance impact of parsing HTML every time a partial page update is applied.

There are no comments on this comment yet.