When I iterate over a dynamic component like:
<svelte:component collection={collection} uid={uid} this={upload_component}
bind:action={restart}/>
Is it possible to use a set of dynamic props for each component. Each component having it's own set of prop names and prop values.
Solution example:
<script>
import Info from './Info.svelte';
const pkgs = [{
name: 'svelte',
version: 3,
speed: 'blazing',
website: 'https://svelte.dev'
}, ];
</script>
<Info {...pkgs[0]}/>
More in this Rich Harris answer here.