Some of the frameworks that I've seen that are small, fast, and well-liked are Preact, Inferno, Mithril, and Ractive. Does anyone have any experience with these, or even better, thoughts on a comparison between them?
Ask HN: Best tiny JavaScript framework?
1–10 of 46 posts
Re: Ask HN: Best tiny JavaScript framework?
#2Re: Ask HN: Best tiny JavaScript framework?
#3Re: Ask HN: Best tiny JavaScript framework?
#4Re: Ask HN: Best tiny JavaScript framework?
#5Is there a maximum file size that you're looking for? Because Vue.js is pretty small, 23K after gzip: https://gist.github.com/Restuta/cda69e50a853aa64912d
Re: Ask HN: Best tiny JavaScript framework?
#6There are two that I know of that are truly tiny: Monkberry[0] and RE:DOM[1] which are respectively 1kb and 2kb in size. [0]: http://monkberry.js.org/ [1]: https://redom.js.org/
Re: Ask HN: Best tiny JavaScript framework?
#7Re: Ask HN: Best tiny JavaScript framework?
#8Why do you need such a tiny footprint?
Re: Ask HN: Best tiny JavaScript framework?
#9Why do you need such a tiny footprint?
"The web sucks if you have a slow connection"
Re: Ask HN: Best tiny JavaScript framework?
#10Is there a maximum file size that you're looking for? Because Vue.js is pretty small, 23K after gzip: https://gist.github.com/Restuta/cda69e50a853aa64912d
I love Vue and have used it before, but I would like to use an even smaller library if possible. I believe Inferno is 9kb and Preact is 3kb, so Vue isn't that far off, but I still would like to hear people's opinions on the truly tiny frameworks.
If you do find something smaller, the amount of glue or performance related code you add will probably end up being more than Preact.