<script>
import Message from './Message.svelte';
//let dummy; // https://github.com/sveltejs/svelte/issues/2035 workaround
let thing = 'world';
</script>
<button on:click={() => thing = 'you'}>Retarget message</button>
<Message>
<span slot="thing">
{thing}
</span>
</Message>
<hr>
<p><em>The message should read: “Hello, {thing}!"</em></p>