News for hackers. Stuff that matters.
Re:HUI.js – JavaScript Front End UI Library in 657 Bytes by Horlahcoded on Monday January 01, 2018 @05:34PM (#16048409)
have you checked HyperScript?
Re:HUI.js – JavaScript Front End UI Library in 657 Bytes by nofilter on Monday January 01, 2018 @05:39PM (#16048436)
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).
Re:HUI.js – JavaScript Front End UI Library in 657 Bytes by Horlahcoded on Monday January 01, 2018 @06:14PM (#16048600)
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.