cerebral/overmind

The overmind-vue plugin uses the deprecated "beforeDestroy" lifecycle hook

d-bardiau opened this issue ยท 3 comments

The overmind-vue plugin uses the old "beforeDestroy" interface to hook in. Within Vue 3 the interface is renamed to "beforeUnmount" and Vue warns about it:

image

This might be the affected line:

beforeDestroy(this: any) {

In next release I will split up the imports for Vue2 and Vue3, also update Vue3 to comply with the official release ๐Ÿ˜„

Now in next you can import Vue 3 specific stuff from overmind-vue/vue3, vue2 should now work as normal

Released