-
-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
fix(runtime-core): merge props and emits strategy #8052
Conversation
return [...new Set([...to, ...from])] | ||
} | ||
return extend( | ||
Object.create(null), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is added to avoid mutating raw user objects
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sounds like the same problem that's currently occurring in the devtools when inspecting components with mixins: https://github.com/vuejs/devtools/issues/2037
Fixes: #7989