2.5.9
https://codepen.io/cool_zjy/pen/KyLpve
VueComponent logged in console// mixins: [mixin],VueComponent logged in console
undefined logged in console
Please use this to access component instance in hooks and other methods.
https://codepen.io/Akryum/pen/OOYywd
@Akryum Why? Since 2.5 data function receives vm instance as the first argument https://github.com/vuejs/vue/pull/6760
I'm on a PR.
I think the fix is adding this as the second arg on call in the mergeDataOrFn function