Open
Description
Version
2.5.17-beta.0
2.5.16
Reproduction link
https://codepen.io/anon/pen/rKwWXq?editors=1010
Steps to reproduce
Open the console
What is expected?
An instance of MyComponent
should be logged
What is actually happening?
undefined
is logged
This worked in 2.5.15
It also works if you change RootComponent
to be non-functional:
const content = h(MyComponent, {}, this.slots.default)
I'm guessing this was caused by 62a922e, cloneVNode
doesn't include that property.