You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then it works. In the working version, the generated server code contains the line const thing = $$slotProps.thing;, which is absent in the first version. Similar for the client code.
It should just be a matter of rendering that line in the first case as well. Seems a bit tricky so far though that may just be my lack of familiarity with the Svelte 5 parser overall.
Describe the bug
I have 2 components:
<BikeItem bike="" />
that accept abike
prop<FancyList items=[]>
that accept anitems
prop and a slotslot="item"
The following code works with Svelte 4 but not with Svelte 5:
Svelte 4 REPL
Reproduction
https://svelte-5-preview.vercel.app/#H4sIAAAAAAAAE51QQWrDMBD8itgefDHx3bUN7aEQ6A-iHBxlTUVtSUibUiP090pyY4cGSulJq93ZmdnxMMgRHdQHD6qfEGp4MgZKoNmkj_vAkTD-nb5YkTqNE1Ya6rjiJCejLbGXXon5VTpig9UT47Cr1tZuYeBwg3-W77gnnDb4tXOLjnihVSQ9xaFjLTsUp4g3pFVRskL0ao7Vkaum2iypZjMjI6FrfV4P2W-zKrtRU8shQTiwEalO5QIO7PupukS-EnYxhkmf5SDxDDXZC4ZyTW1F_TU7_MxZROnF6OOPQ_wD9uJtmbHe5SLkI5J3lmS3A3yeZsO-SnvhN6_XFP5hNQVz5zSndS94DF8HX7LpXgIAAA==
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: