<h3 dir="auto">Version</h3>
<p dir="auto">2.6.10</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codesandbox.io/s/vue-template-7rsmp" rel="nofollow">https://codesandbox.io/s/vue-template-7rsmp</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">componentInstance via this.$slots.foo[bar] which are filled with new v-slot syntax is undefined.</p>
<p dir="auto">For example:<br>
this.$slots.myslot[0].componentInstance // returns undefined</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">Should return VueComponent instance</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">undefined is returned</p>
<hr>
<p dir="auto">Old slot="xxx" syntax properly returns VueComponent instance in componentInstance property</p>
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.17-beta.0<br>
2.5.16</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codepen.io/anon/pen/rKwWXq?editors=1010" rel="nofollow">https://codepen.io/anon/pen/rKwWXq?editors=1010</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Open the console</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">An instance of <code class="notranslate">MyComponent</code> should be logged</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto"><code class="notranslate">undefined</code> is logged</p>
<hr>
<p dir="auto">This worked in 2.5.15<br>
It also works if you change <code class="notranslate">RootComponent</code> to be non-functional:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const content = h(MyComponent, {}, this.slots.default)"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-en">h</span><span class="pl-kos">(</span><span class="pl-v">MyComponent</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">slots</span><span class="pl-kos">.</span><span class="pl-c1">default</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">I'm guessing this was caused by <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/vuejs/vue/commit/62a922e865f5e578f67b386cb614abfc173d7851/hovercard" href="https://github.com/vuejs/vue/commit/62a922e865f5e578f67b386cb614abfc173d7851"><tt>62a922e</tt></a>, <code class="notranslate">cloneVNode</code> doesn't include that property.</p>