<h3 dir="auto">Version</h3>
<p dir="auto">2.5.16</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codesandbox.io/s/rllvz0m21o" rel="nofollow">https://codesandbox.io/s/rllvz0m21o</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<ol dir="auto">
<li>Create a "renderless" component that passes data into the default scoped-slot.</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="render () {
  return this.$scopedSlots.default(this)
},"><pre class="notranslate"><code class="notranslate">render () {
  return this.$scopedSlots.default(this)
},
</code></pre></div>
<ol start="2" dir="auto">
<li>Have a component that uses the "renderless" component as root and then populates the scoped-slot with its own template.</li>
<li>Have two components with regular slots where one is tunneling the passed content into the second slot. The slots can have different names, it does not affect the issue. Like this:</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;slot slot=&quot;slotName&quot; name=&quot;slotName&quot;/&gt;"><pre class="notranslate"><code class="notranslate">&lt;slot slot="slotName" name="slotName"/&gt;
</code></pre></div>
<ol start="4" dir="auto">
<li>Somehow force the "renderless" component to update.</li>
</ol>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">No warning should be shown.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">It triggers the warning:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Duplicate presence of slot &quot;sep&quot; found in the same render tree - this will likely cause render errors.

found in

---&gt; &lt;MiddleComponent&gt; at /src/components/MiddleComponent.vue"><pre class="notranslate"><code class="notranslate">Duplicate presence of slot "sep" found in the same render tree - this will likely cause render errors.

found in

---&gt; &lt;MiddleComponent&gt; at /src/components/MiddleComponent.vue
</code></pre></div>
<p dir="auto">It might also work incorrectly or trigger additional unnecessary re-renders.</p>
<hr>
<p dir="auto">The source code responsible for showing the warning was probably meant for detecting the usage of slots inside v-for loops. However, in this case, it seems to be called incorrectly since the slot is only rendered once. The reason for this might be that the <code class="notranslate">rendered</code> flag is not being reset in this situation. Not using a renderless component (doing tunneling outside of a scoped-slot) does not trigger the error. Using scoped-slots instead of regular slots also does not trigger the warning, but that’s because the check is skipped.</p>
<p dir="auto">This is potentially related to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="344100202" data-permission-text="Title is private" data-url="https://github.com/vuejs/vue/issues/8546" data-hovercard-type="issue" data-hovercard-url="/vuejs/vue/issues/8546/hovercard" href="https://github.com/vuejs/vue/issues/8546">#8546</a>.</p>
<h3 dir="auto">Version</h3>
<p dir="auto">2.5.16</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codesandbox.io/s/vn7jz1l1kl" rel="nofollow">https://codesandbox.io/s/vn7jz1l1kl</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Click the button that says "refresh"</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">Nothing should happen</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">[Vue warn]: Duplicate presence of slot "default" found in the same render tree - this will likely cause render errors.</p>
<hr>
<p dir="auto">I have a component <code class="notranslate">B</code> which accepts a scopedSlot, and a component <code class="notranslate">A</code> which accepts a slot. <code class="notranslate">A</code> is passing in it's slot into the scopedSlot of <code class="notranslate">B</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;template slot-scope=&quot;scope&quot;&gt;
          &lt;slot&gt;&lt;/slot&gt;
&lt;/template&gt;"><pre class="notranslate"><code class="notranslate">&lt;template slot-scope="scope"&gt;
          &lt;slot&gt;&lt;/slot&gt;
&lt;/template&gt;
</code></pre></div>
<p dir="auto">When the component <code class="notranslate">B</code> gets rerendered, I see this warning in the console. <code class="notranslate">B</code> passes a method to the scoped slot which will cause it to rerender when called.</p>