Riot.js 2.3.0 发布下载,JavaScript 的 MVP 框架

jopen 9年前

Riot.js是一个客户端模型-视图-呈现(MVP)框架并且它非常轻量级甚至小于1kb.尽管他的大小令人难以置信,所有它能构建的有如下:一个模板引擎,路由,甚至是库和一个严格的并具有组织的MVP模式。当模型数据变化时视图也会自动更新。
Riot.js 2.3.0 发布,Riot 分离成 6 个不同的模块:

主要改进:

  • Add html5 history router please check the documentation

  • Add new rewritten versions of the compiler, template engine and the command line

  • Deprecate riot.mountTo

  • Change tag._id to tag._riot_id you should not use riot internal “private” properties anyway

  • Fix the use of yield on the server

  • Fix memory leak in riot.render

  • Fix the use of dynamic attributes such as name id

  • Update loop behaviour, they will be a bit slower but more reliable you can use the no-reorder option if you want to enable a faster rendering algorithm more details

下载:https://github.com/riot/riot/archive/v2.3.0.zip

更新内容请看发行说明:http://riotjs.com/release-notes/