Crash on 'update' non-resolved async component
Vue version
3.4.5
Link to minimal reproduction
Steps to reproduce
- Open the playground
What is expected?
The text is AAA data2
, and there is no error message.
What is actually happening?
The text is AAA data
, and an error is shown.
System Info
No response
Any additional comments?
It used to work in preview of pr #7290 .
The playground of the commit shows the result correctly.
Probably it is also regressed by this commit
A note on why we can't just do initialVNode.el = placeholder.el
:
In component's render effect on initial mount, we use the presence of el
to serve as a check for adopted server-rendered DOM. If el
is present, it will perform hydration instead of client mount. This is why the previous fix broke Nuxt in ecosystem-ci.