-
-
Notifications
You must be signed in to change notification settings - Fork 9k
Open
Labels
Description
Version
3.1.0-beta.3
Reproduction link
https://github.com/gzzhanghao/vue-next-props-update-issue-demo
Steps to reproduce
With following component structure (A and B are non-sfc components), update class="b" to class="c".
<A>
<B class="b" :data-foo="dynamic" />
</A>What is expected?
Element's class is updated to c.
What is actually happening?
Nothing happened.
instance.parent is not referring to the component that creates the vnode. In the example above, B.parent points to A instead of App.