-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Describe the bug
The rendered state doesn't update. Not sure what the exact issue is.
Reproduction
<script>
let value = $state("Apple");
const foo = $derived(await value);
const bar = $derived(foo === value && [0]);
</script>
<select bind:value>
<option value="Apple">Apple</option>
<option value="Banana">Banana</option>
</select>
{#each bar}
Selected fruit: {value}
{/each}
Logs
System Info
Svelte playgroundSeverity
annoyance
Metadata
Metadata
Assignees
Labels
No labels