You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CyberAP
changed the title
[vue-compat] Lifecycle hooks are wrapped into array when using Vue.extend
[vue-compat] Lifecycle hooks are broken when using Vue.extend
May 11, 2021
CyberAP
changed the title
[vue-compat] Lifecycle hooks are broken when using Vue.extend
[compat] Lifecycle hooks are broken when using Vue.extend
May 11, 2021
Version
3.1.0-beta.2
Reproduction link
https://codesandbox.io/s/unruffled-mclaren-310ge?file=/src/main.js
Steps to reproduce
What is expected?
Lifecycle hooks should work
What is actually happening?
Component does not render and hooks don't trigger at all
This does produce a runtime error when trying to use a component that was defined via Vue.extend:
The text was updated successfully, but these errors were encountered: