Hacker News new | ask | show | jobs
by devhammed 3084 days ago
have you checked HyperScript?
1 comments

I haven't, but just did. It's pretty much the same in that you create inline HTML in Javascript. I'm not saying this is wrong. I'm just wondering why would someone prefer this method to a file-based templates (like Handlebars).
Thanks for pointing that out, you can write your code in separate file then include in the HTML. i have updated the docs to note that.