This ticket is allow a core team member to spend some time doing further investigation into Svelte and the ICDS components library. One main issue to look at is the use of Svelte bindings and whether that is possible with our components as Svelte bindings are fundamental when using Svelte to create applications.
Additional info
Svelte can also be used to create web components so might be worth creating a simple component using svelte and compare the structure to the Stencil ouput: https://svelte.dev/docs/custom-elements-api
💬 Description
This ticket is allow a core team member to spend some time doing further investigation into Svelte and the ICDS components library. One main issue to look at is the use of Svelte bindings and whether that is possible with our components as Svelte bindings are fundamental when using Svelte to create applications.
Additional info
Svelte can also be used to create web components so might be worth creating a simple component using svelte and compare the structure to the Stencil ouput: https://svelte.dev/docs/custom-elements-api
Example of using bindings with web-components: https://stackoverflow.com/questions/62186324/svelte-bind-is-not-working-when-customelement-true-is-set/62239040#62239040
Stencil Svelte OutputTarget: https://github.com/ionic-team/stencil-ds-output-targets/issues/103 (Not maintained for a while)