TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Mithril.js: small (8.96 KB gzipped) modern client-side JavaScript framework

38 点作者 Brysonbw大约 1 个月前

8 条评论

stevage大约 1 个月前
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&#x27;t mind using a bespoke framework with no ecosystem?<p>I&#x27;m just amazed that saving 100kb or whatever could outweigh the other factors.
评论 #43553041 未加载
ilrwbwrkhv大约 1 个月前
Mithril is fantastic. A much better library for frontend development compared to react vue et al. Simpler and far more performant code.
sixtram大约 1 个月前
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&#x27;t able to include it with the &quot;require.js&quot; bundler (I guess the module format was not standardized yet). I actually liked Mithril, sent them some bug reports.
评论 #43553933 未加载
creamyhorror大约 1 个月前
Mithril is a relatively older framework and its creator lhorie comments on HN occasionally.
zoezoezoezoe大约 1 个月前
This is interesting, the code makes me want to euthanize myself, but it&#x27;s cool to see.
评论 #43552995 未加载
bpev大约 1 个月前
It&#x27;s kind of wild to me that I remember deciding between mithril and backbone, and now I&#x27;m still seeing it on the hn front-page (edit: oop. 2nd page) in 2025.<p>The longevity is real.
badbotty大约 1 个月前
I&#x27;m working on a personal project with this right now. Closure components FTW.
JodieBenitez大约 1 个月前
No build step needed ? I like that.