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