A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue-next/issues/3852 below:

[compat] component data is overwritten by mixins · Issue #3852 · vuejs/core · GitHub

Version

3.1.0-beta.6

Reproduction link

https://codepen.io/kaelwd/pen/JjWOrpq?editors=1011

Steps to reproduce

Consume a mixin that defines its own data

What is expected?

The mixin data should be merged with the component data

What is actually happening?

Only the mixin data is used. If there are instead two mixins that define data, deepMergeData throws an error and nothing is rendered: https://codepen.io/kaelwd/pen/gOmXGew?editors=1011


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4