红联Linux门户
Linux帮助

Vue v2.0.4发布,SSR性能改进20%

发布时间:2016-11-05 09:27:19来源:红联作者:dfilesa
Vue v2.0.4 发布了,Vue.js 是构建 Web 界面的 JavaScript 库,提供数据驱动的组件,还有简单灵活的 API,使得 MVVM 更简单。

该版本更新内容:

构建

The npm distribution now includes dist/vue.runtime.js, a UMD version of the runtime only build that can be used in browsers. It is also available on CDN.

改进

20% SSR performance improvements by eliminating closures with context passing (via #4007 by @HerringtonDarkholme)

修复

fix transition error when using one delay to control all transitions (via #3932 by @guidobouman)

#3940 fix root v-else not rendering in prod (via #3943 by @chrisvfritz)

#3942 fix Vue.set not supporting sparse array (via #3947 by @leonlau)

#3957 fix global props mixin

#3958, #3979 fix v-model binding with array indice (via #3988 by @defcc)

#3964 fix v-once inside v-for

#3973, #4012 fix parsing templates that contains "<"

#4018 fix .number modifier for select, radio and checkbox (via #4022 by @defcc)

#4055 fix style merging on component nodes in SSR (via #4076 by @HerringtonDarkholme)

#4062 fix components option object compatibility with Webpack 2 wildcard import

fix TypeScript definitions for RenderContext (via #4099 by @kaorun343)

#4107 fix domProps unset for v-html

fix attrs and domProps merging on component nodes in SSR

软件详情:https://github.com/vuejs/vue/releases/tag/v2.0.4

下载地址:https://github.com/vuejs/vue/archive/v2.0.4.zip

来自:开源中国社区
文章评论

共有 0 条评论