News for hackers. Stuff that matters.
Re:Ask HN: Best tiny JavaScript framework? by scarface74 on Thursday March 09, 2017 @12:47PM (#13831110)
I posted the suggestion above before reading this. I don't think you can get smaller than JavaScript + Handlebars. This is the route I took for pages that need to run in slow mobile devices.

You can even precompile your Handlebars templates as an optimization and include a smaller subset of the Handlebars library that is just the runtime without the compiler.

Re:Ask HN: Best tiny JavaScript framework? by levthedev on Thursday March 09, 2017 @01:19PM (#13831505)
Yeah handlebars is not a bad thought. And that's cool about the runtime optimization, I didn't know that.