Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.6-beta] regression: component without slots re-renders when parent updates #9396

Closed
KaelWD opened this issue Jan 31, 2019 · 0 comments
Closed
Labels

Comments

@KaelWD
Copy link
Contributor

KaelWD commented Jan 31, 2019

Version

2.6.0-beta.3

Reproduction link

https://codepen.io/anon/pen/JxEpJK?editors=1011

Steps to reproduce

  • click the "root" button

What is expected?

"update root" should be logged

What is actually happening?

"update ChildComponent" is also logged


If you add v-slot:default it works as expected: https://codepen.io/anon/pen/exgVVm?editors=1011
Vue 2.5.22 also works correctly: https://codepen.io/anon/pen/KJaQQL?editors=1011

@LinusBorg LinusBorg added the bug label Jan 31, 2019
@LinusBorg LinusBorg changed the title regression: component without slots re-renders when parent updates [2.6-beta] regression: component without slots re-renders when parent updates Jan 31, 2019
Lostlover pushed a commit to Lostlover/vue that referenced this issue Dec 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants