社区微信群开通啦,扫一扫抢先加入社区官方微信群
社区微信群
Mithril.js 是一个客户端的 JavaScript MVC 框架。可将应用分成数据层、UI层和控制层。Mithril 压缩后只有 3kb 左右。API 提供一个模板引擎,带 DOM diff 实现,支持路由和组合。
Mithril.js 0.2.0 发布,此版本更新内容如下:
新特性
Mithril modules will be referred to ascomponentsfrom now on.
Virtual DOM tree can now containcomponents
Components can now be parameterized viam.component
改进
m.module
重命名为m.mount
fix diff edge case in<select>
#569
fix support for arrays in template compiler
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!