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
You should ensure that the component is always registered correctly, why do you need unregistered components? If it's a built-in component(specific platform), you may need the corresponding compiler options:
/** * If the pairing runtime provides additional built-in elements, use this to * mark them as built-in so the compiler will generate component vnodes * for them. */isBuiltInComponent?: (tag: string)=>symbol|void
And, I tracked down this issue, the error is caused by the unknown component resolve to a plain element, so it was not collected as dynamicChildren.
You should ensure that the component is always registered correctly, why do you need unregistered components?
Yeah, of course. Still it shouldn't error out, right? :)
Especially since there is a warning that the component is unknown and therefore some would think that it is handled gracefully.
Version
3.0.0-rc.10
Reproduction link
https://codesandbox.io/s/adoring-framework-zc9cs?file=/src/App.vue
Steps to reproduce
TypeError: oldVNode is undefined
inpatchBlockChildren
What is expected?
The unknown component should be ignored
What is actually happening?
It throws an error
Full stacktrace:
The text was updated successfully, but these errors were encountered: