JavaScript 的 MVP 框架 Riot.js v2.5.0 發布

jopen 8年前發布 | 9K 次閱讀 Riot.js MVP JavaScript

Riot.js是一個客戶端模型-視圖-呈現(MVP)框架并且它非常輕量級甚至小于1kb.盡管他的大小令人難以置信,所有它能構建的有如下:一個模板引擎,路由,甚至是庫和一個嚴格的并具有組織的MVP模式。當模型數據變化時視圖也會自動更新。

更新日志

  • riot
    • Fix mixins using child class functions (class Child extends Parent {})riot#1857
    • Fix bug select option order riot#1815
    • Fix riot.csp previously bundled with the wrong riot-tmpl versionriot#1076
    </li>
  • riot-compiler
    • Add support for es6 “import” inside tags compiler#71
    • </ul> </li>
    • riot-cli