码迷,mamicode.com
首页 > 编程语言 > 详细

Vue 教程:轻量级 JavaScript 框架

时间:2016-09-09 10:03:28      阅读:176      评论:0      收藏:0      [点我收藏+]

标签:

Vue v2.0.0-rc.5 发布了,Vue.js 是构建 Web 界面的 JavaScript 库(基础教程qkxue.net),提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

本次发布一些新特性:

Custom directives now get a new hook: inserted, which will be called when the bound element has been inserted into its parent node. (Note this only guarantees parent node presence but not in-document)
SSR hydration now allows the client to hydrate a server-rendered node when it has no children. (Previously it would throw an error and bail out with a full re-render) This allows the server to render a static "app shell" and let the client pick it up.
Bug 修复:

Reverted custom directive bind call timing due to it leading to incorrect v-show property switch timing during initial render.
#3556 fix v-on patching for cloned slot nodes
#3559 remove unnecessary appear check in v-show
#3595 fix incorrect duplicate slot warning when they are under v-if/v-else
#3611 fix v-for patching error by keying nested children by default

Vue 教程:轻量级 JavaScript 框架

标签:

原文地址:http://www.cnblogs.com/cainiaojiaocheng/p/5855353.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!