-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[compat] Lifecycle hooks are broken when using Vue.extend #3761
Comments
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
yyx990803
pushed a commit
that referenced
this issue
May 12, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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: