-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
I have 2 components:
- a
<BikeItem bike="" />that accept abikeprop - a
<FancyList items=[]>that accept anitemsprop and a slotslot="item"
The following code works with Svelte 4 but not with Svelte 5:
<script>
import FancyList from "./FancyList.svelte"
import BikeItem from "./BikeItem.svelte"
const bikes = ['brompton', 'canyon']
</script>
<FancyList items={bikes}>
<BikeItem slot="item" let:item={bike} {bike} />
</FancyList>Reproduction
Logs
No response
System Info
Svelte 5Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels