查看原文
其他

Vue 2.3.0 正式发布,全新的服务器端渲染

2017-05-02 前端大全

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


转自:开源中国


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



觉得本文对你有帮助?请分享给更多人

关注「前端大全」,提升前端技能

您可能也对以下帖子感兴趣

文章有问题?点此查看未经处理的缓存