Skip to content

Mixins don't recursively merge data #1003

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

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

skirtles-code
Copy link
Contributor

In Vue 2, data from mixins was merged recursively. This is no longer the case in Vue 3:

https://v3.vuejs.org/guide/migration/data-option.html#mixin-merge-behavior-change

I've updated the page about mixins to remove the word 'recursive'. I've also reworded that paragraph to distinguish between the data functions and the objects they return.

@NataliaTepluhina NataliaTepluhina merged commit 2b0801e into vuejs:master Apr 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants