Hi everyone, I just finished a post on creating We...
# feed
a
Hi everyone, I just finished a post on creating Web Components in Kotlin, even by using Compose HTML: • great encapsulation of Kotlin/JS and Compose HTML inside a custom HTML component • attribute changes are handled as StateFlows inside the component, and as such as State inside Compose • only include 1 script in your final page and render the custom component https://avwie.github.io/web-components-in-kotlin
👍 7
😍 2
I included an addendum: https://avwie.github.io/web-components-in-kotlin-addendum Now it contains Web Components AS Composables, and building Web Components with the Kotlinx HTML DSL