Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nofilter
· 8y ago · 0 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).
Comments
[–]
devhammed
8y ago
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.