Mithril.js: small (8.96 KB gzipped) modern client-side JavaScript framework
There seem to be so many of these. I really wonder who is the audience for these. Who needs a framework, is incredibly sensitive to bundle size, and doesn't mind using a bespoke framework with no ecosystem?
I'm just amazed that saving 100kb or whatever could outweigh the other factors.
Mithril is fantastic. A much better library for frontend development compared to react vue et al. Simpler and far more performant code.
I used Mithril in 2015 for a very complex form view in an otherwise vanilla jquery page. It saved the project. React was also a new player at the time, but for some reason I wasn't able to include it with the "require.js" bundler (I guess the module format was not standardized yet). I actually liked Mithril, sent them some bug reports.
Mithril is a relatively older framework and its creator lhorie comments on HN occasionally.
This is interesting, the code makes me want to euthanize myself, but it's cool to see.
It's kind of wild to me that I remember deciding between mithril and backbone, and now I'm still seeing it on the hn front-page (edit: oop. 2nd page) in 2025.
The longevity is real.
I'm working on a personal project with this right now. Closure components FTW.
No build step needed ? I like that.