Closed
Description
following technic not working in 0.11
var WidgetComponent = Vue.component({
data: function(){return {items: []}}
});
var WidgetWithCounterComponent = WidgetComponent.extend({
data: function(){return {count: 0}}
});
Data is now a function that gets overriden, so that this.items becomes not available.
Not quite sure if it's correct behaviour, as I've used this technic before and it was OK.
Using special merge function as a solution, but have a feeling that i'm doing it in wrong way.
Still, did not try to use mixins for object extension yet - migrated to 0.11 yesterday. Great work, btw, extreme performance increase, up to 2 or 3 times in most of the app bottlenecks.
Metadata
Metadata
Assignees
Labels
No labels