title: Svelte binded select value is not updating on fetch
body: <p>I'm using the following code in Svelte (3) to fetch options from an API. There's subsequent s that depend on the first one. My expectation is that selectedOption would change to options[0] when the select has its options populated but it's not changing until I manually select another option and then select the first one. Am I binding it wrong? AFAIK I don't need a reactive variable for this and should theoretically work like this.</p>
  <pre><code>onmount(async () =&gt; {
      options = await getOptions()
  })
  let selectedOption;
  
  &lt;select bind:value={selectedOption}&gt;
  {#each options as option}
      &lt;option value={option} selected={selectedOption === option}&gt;
          {option.name}
      &lt;/option&gt;
  {/each}
  </code></pre>