Hacker News new | ask | show | jobs
by nofilter 3084 days ago
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).
1 comments

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.