question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v2.6.7 breaks scoped slots compiled with older version

See original GitHub issue

Version

2.6.7

Reproduction link

https://codesandbox.io/s/r5903m5vjp

Steps to reproduce

使用 vue@2.6.6 以及之前版本开发、编译的 UI 组件库,在与 vue@2.6.7 一起工作时报错。

原因在于:Commit 7ec4627 改变了 resolveScopedSlots 方法的参数顺序。

What is expected?

v2.6.7 应该继续支持旧的 scoped slot 编译结果吧?

否则,难道 vue 每 release 一次,各种 UI 组件库的开发者们也得重新跟着重新编译发版吗?

What is actually happening?

vue@2.6.6 及 vue@2.5.x 编译后的 scope slots,在 vue@2.6.7 环境能够不报错。

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
yyx990803commented, Feb 22, 2019

对,根本原因是 2.6.4~2.6.6 这个范围内的版本的参数顺序有问题,跟 2.5/2.6.7+ 不兼容,所以避免用几个版本去编译你的库即可。

0reactions
donglegendcommented, Feb 23, 2019

@Justineo 不好意思,当我试图创建一个纯净的场景浮现时,问题不再出现。但是我的项目安装v2.6.7却有问题,猜测可能由于项目比较复杂,或许是缓存或者其他原因,我再探究一下,谢谢!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Slots - Vue.js
Render Scope #. Slot content has access to the data scope of the parent component, because it is defined in the parent. For...
Read more >
Release Notes - OpenSSH
OpenSSH is a 100% complete SSH protocol 2.0 implementation and includes sftp client and server support. Once again, we would like to thank...
Read more >
Cisco FXOS Troubleshooting Guide for the Firepower 1000 ...
Example: Use BREAK or ESC to interrupt boot. Use SPACE to begin boot immediately. Step 2. Verify the ROMMON version: rommon 1 >...
Read more >
QP/C++: Revision History - Quantum Leaps
The older ARM Compiler-5 does not support the C++11 standard, and consequently it cannot compile QP/C++ code. Removed the ports and examples ...
Read more >
AngularJS: Developer Guide: Migrating from Previous Versions
AngularJS 1.8 is a breaking change release from 1.7 to mitigate a security issue. ... This can happen in tests that compile input...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found