Lists & Keys
When manipulating lists, it's good practice to add an key (identifier), when you loop through that list with #each
. This will help Svelte identity the item in the list, and avoid issues.
Last updated
When manipulating lists, it's good practice to add an key (identifier), when you loop through that list with #each
. This will help Svelte identity the item in the list, and avoid issues.
Last updated