v2.6.7 breaks scoped slots compiled with older version
See original GitHub issueVersion
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:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
对,根本原因是 2.6.4~2.6.6 这个范围内的版本的参数顺序有问题,跟 2.5/2.6.7+ 不兼容,所以避免用几个版本去编译你的库即可。
@Justineo 不好意思,当我试图创建一个纯净的场景浮现时,问题不再出现。但是我的项目安装v2.6.7却有问题,猜测可能由于项目比较复杂,或许是缓存或者其他原因,我再探究一下,谢谢!