<h3 dir="auto">Version</h3>
<p dir="auto">2.5.22</p>
<h3 dir="auto">Reproduction link</h3>
<p dir="auto"><a href="https://codesandbox.io/embed/vue-template-b6c06?fontsize=14&amp;hidenavigation=1&amp;theme=dark" rel="nofollow">https://codesandbox.io/embed/vue-template-b6c06?fontsize=14&amp;hidenavigation=1&amp;theme=dark</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">When the initial value of <code class="notranslate">a</code> is equal to <code class="notranslate">true</code> and <code class="notranslate">b</code> is equal to  <code class="notranslate">false</code>, the child component was created twice.<br>
When the initial value of <code class="notranslate">a</code> is equal to <code class="notranslate">false</code> and <code class="notranslate">b</code> is equal to  <code class="notranslate">true</code>, the child component was created once.<br>
When the initial value of <code class="notranslate">a</code> and <code class="notranslate">b</code> are same, the child component was created twice.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">The child component is created the same number of times in different cases</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">The child component is created the different number of times in different cases</p>
<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-wn53r" rel="nofollow">https://codesandbox.io/s/vue-template-wn53r</a></p>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">Just see the code and the console info.</p>
<h3 dir="auto">What is expected?</h3>
<p dir="auto">Child component mounted once.</p>
<h3 dir="auto">What is actually happening?</h3>
<p dir="auto">Child component mounted twice.</p>