Riot v2.6.0 发布了,Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。
该版本主要更新如下:
riot
Fix bug in nested loops templates riot#1646
Fix options correctly passed to the compiler riot#1801
Fix svg xlink attributes riot#1922
Add support for getters setters in mixins riot#1888 thanks to @5angel
riot-observable
BREAKING CHANGE: riot observable will no longer support events namespaces, this feature brings performance drawback and router issuesmore info
riot-tmpl
Fix wrong context bug riot#1916
riot-route
Fix relative links issues riot#1916
点击这里查看官方发行说明:http://riotjs.com/release-notes/