Vue 2.3.0 正式发布

(点击上方公众号,可快速关注)

转自:开源中国

Vue 2.3.0 正式发布了,Vue 是一款轻量级 JavaScript 框架。

新版了带来一些改进和 bug 修复,具体如下:

改进:

  • 改进服务器端的渲染

  • 改进异步组件

  • 改进功能组件

官方为 Vue 创建了一个全新的服务器端渲染指南,建议所有使用者阅读。此外,还更新了 HackerNews 的 Demo,以反映最新的最佳做法。

Bug 修复:

  • #5238, #5387 fix v-model not syncing for autocomplete / switching focus before confirming composition

  • #5318 fix style diffing on cached/slot elements

  • #5346 fix keep-alive cache incorrectly pruned with transition mode="out-in"

  • #5361 fix Symbol check error in Node 4.x

  • #5394 fix duplicate attribute warning when using class and :class together in Edge

  • #5398 fix v-model checkbox binding with Array index (@posva via #5402)

  • #5464 fix incorrect compiler warning for $delete usage in templates

  • #5480 allow slot names to be number 0 (@posva via #5481)

  • #5526 fix text inside <script type="x/template"> being unnecessarily decoded

  • vue-class-component#87 fix base class lifecycle hook dropped when constructor options are modified before applying global mixin

更新内容较多,详情请参阅发布说明:https://github.com/vuejs/vue/releases/tag/v2.3.0

觉得这条资讯有帮助?请转发给更多人

关注 技术最前线 看 IT 要闻

640?wx_fmt=png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值