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
When you have a simple component that is forwarding a children slot in Svelte 4 and migrate to Svelte 5 it doesn't work correctly. It causes infinite recursion where snippet is calling itself.
#14127 / #14090 has already fixed named snippet and works really well, we just missed children prop.
Describe the bug
When you have a simple component that is forwarding a
children
slot in Svelte 4 and migrate to Svelte 5 it doesn't work correctly. It causes infinite recursion where snippet is calling itself.#14127 / #14090 has already fixed named snippet and works really well, we just missed children prop.
Reproduction
https://svelte.dev/playground/hello-world?version=5.1.10#H4sIAAAAAAAAE21Qy2rDQAz8FaEW0kKI765j6C2nXtpbt4dNLCcLa2nZVR7F-N_LOnaaQo-a0cxo1CPbjrDEDXkvcJboG3iixik1z7jE1nlKWH72qN8h72UAl7PqNYRVOpHXjG1tov_wnbASa8ISq7SLLih4y_u1QU0Ga8MArgsSFTZyomi3nqCN0sFiVdyQ94ON1Eymi5c70YeIVxcmyeNOuiCc84qJKRw3dLmTVsX1jNqw4eo31JOWhzw53q_7dJDz5DCMFEtDIFx2ckxErBRvkyd7orFJlbwo_BUXYxBA_-BauGcyCFDNDYKNxPomDa37HDbU14XZNT83f-26bnA0Hum56jj3hWuH3PLWrDaMS1S6KJYajzR8DT9qZ7M--QEAAA==
this is Svelte 4 code and click on migration it produces following
https://svelte.dev/playground/hello-world?version=5.1.10#H4sIAAAAAAAAE31RTU-EMBD9K5O6yUJC4M6yqDdPxkRv4qHSwW1Spk3bXTUN_910KeyaGE-lb94H8xoY8RFZzR5QKQ2f2ioBGQrpUeSsYINU6Fj9Gpj_NpEXAVYsqntjSndC5SP2zh3-hfeaPJJ3rGaN6600HhSnj33HvOtY2xGAHI22Hh70CS1_VwiD1SNsy2pFng_cokim292V6EVr5aVJkk2vR6Mp5lVpUkkS-PVbSh7twHuEJ6uNgxBBgP4glbBIt3Uyz7ZJlZfPJI1B37xy-n5rd7PAzwn_8M_EqaN4KPQQ1pBiUcNUp9_Yw8bEjyzfddRUc1ltFDeXagA01aM-OsS4xXpTyE94bjPcuDl8zcoCHKKBpI8a3EF_pmoKIC0Qpnya9wl3FkmgvTRRZuG34MxN7Bs5XA-TCUCzvInhFsk_aoH7EJOmdqFcZS0llll-cVgeLwlCJYfzMFRptyk2tLbSdsQK5vHLs9rbI05v0w98KPbY2wIAAA==
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: