Closed
Description
Using let:data
from a custom component, and then using data
inside a loop along with <select bind:value={anything}>
tries to wipe-out data
too!
See the example on the REPL: https://svelte.dev/repl/a05cc3a759f341479b56a944d60d4b20?version=3.4.4
Invalidation calls are:
$$invalidate('selected', selected);
$$invalidate('data', data); // `data` is not defined