Riot.js 2.3.0 發布下載,JavaScript 的 MVP 框架
Riot.js是一個客戶端模型-視圖-呈現(MVP)框架并且它非常輕量級甚至小于1kb.盡管他的大小令人難以置信,所有它能構建的有如下:一個模板引擎,路由,甚至是庫和一個嚴格的并具有組織的MVP模式。當模型數據變化時視圖也會自動更新。
Riot.js 2.3.0 發布,Riot 分離成 6 個不同的模塊:
- </li>
- </li>
- </li>
- </li>
- </li>
-
</li>
</ul>
主要改進:
-
Add html5 history router please check the documentation
</li> -
Add new rewritten versions of the compiler, template engine and the command line
</li> -
Deprecate
</li>riot.mountTo
-
Change
</li>tag._id
totag._riot_id
you should not use riot internal “private” properties anyway -
Fix the use of
</li>yield
on the server -
Fix memory leak in
</li>riot.render
-
Fix the use of dynamic attributes such as
</li>name
id
-
Update loop behaviour, they will be a bit slower but more reliable you can use the
</li> </ul>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/
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!
-