I wrote it. What makes jQuery and Mustache preferable? I know pure.js is different, but having the HTML clean of any tags or logic is something new and very flexible.
That's what I was saying. From what I've seen, pure.js does seem preferable to using Mustache or jQuery templates. I was curious if anyone else had other feedback after using it.
The reason I am considering it is to be able to use Ruby erb templates on the server to initially populate data on a page, then use pure.js and its directives to treat that same HTML as a javascript template.
With mustache or jquery templates and everything else I've seen, you're tied to rendering at least some basic empty HTML first, then populating it with javascript templates once javascript is ready.
I've messed around with it some and it seems to work fine. I guess my question is why isn't everyone doing it this way? :)
I guess people feel at home with a double-brackets template engine. It mimics what exist server side for ages.
A pity as HTML in the browser is a DOM, not a sliced string.