<!-- App.html -->
{{#if show}}
<Nested bind:show/>
{{else}}
<button on:click="set({show:true})">Show it</button>
{{/if}}
<script>
import Nested from './Nested.html';
export default {
components: {
Nested
}
};
</script>
<!-- Nested.html -->
<p>Nested component with button <button on:click="set({show:false})">Hide it</button></p>
(see REPL)
Now clicking "Hide it" will trigger TypeError: this._fragment is null in function _set(newState), which is called twice and the second time this._fragment is null.
(see REPL)
Now clicking "Hide it" will trigger
TypeError: this._fragment is nullinfunction _set(newState), which is called twice and the second timethis._fragmentisnull.