1. XenForo 1.5.14 中文版——支持中文搜索!现已发布!查看详情
  2. Xenforo 爱好者讨论群:215909318 XenForo专区

新闻 Vue v2.0.0-rc.5 发布,轻量级 JavaScript 框架 下载

Discussion in '软件资讯' started by 漂亮的石头, 2016-09-09.

  1. 漂亮的石头

    漂亮的石头 版主 Staff Member

    Joined:
    2012-02-10
    Messages:
    487,979
    Likes Received:
    47
    Vue 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

    下载地址:

    Vue v2.0.0-rc.5 发布,轻量级 JavaScript 框架下载地址
     
Loading...