Why not Svelte? #262
-
🚀 Feature requestVue, React, Solid, why not Svelte? |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 22 replies
-
Hi @frederikhors, The only thing holding us back from supporting Svelte is sveltejs/svelte#5112 An important aspect of Zag is that we manage the event handlers internally and provide a way for users to spread it onto the elements. Svelte doesn't support events in spread props just yet. When it does, we'll add support for it. |
Beta Was this translation helpful? Give feedback.
-
Can we leave this open? |
Beta Was this translation helpful? Give feedback.
-
Yeah sure, It'll help others looking for Svelte understand why too. |
Beta Was this translation helpful? Give feedback.
-
Looks like some progress for svelte is coming? :) https://github.com/chakra-ui/zag/tree/main/packages/frameworks/svelte I tried it out, but couldn't figure out the api.connect normalizeProps. |
Beta Was this translation helpful? Give feedback.
-
I managed to get it working by making use of svelte actions!! https://codesandbox.io/s/zag-svelte-n01f02?file=/Select.svelte @segunadebayo Is there a scenario where that wouldn't work? |
Beta Was this translation helpful? Give feedback.
-
@segunadebayo FYI Svelte 5 is moving away from Would love to put my hand up to work on this (and subsequently the Ark UI implementation). Svelte 5 is still in alpha but keen to get a head start. |
Beta Was this translation helpful? Give feedback.
-
We've got the first installment of Svelte support merged. Although not publicly available yet, we'll polish it a bit more and prepare it for release pretty soon. |
Beta Was this translation helpful? Give feedback.
We've got the first installment of Svelte support merged. Although not publicly available yet, we'll polish it a bit more and prepare it for release pretty soon.