Vue v2.0.0
欢迎加入运维网交流群:263444886Vue v2.0.0-rc.5 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 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
下载地址:
[*] Source code (zip)
[*] Source code (tar.gz)
页:
[1]