MrPowerGamerBR
02/19/2025, 10:11 PMorg.jetbrains.kotlin-wrappers:kotlin-browser APIs instead of using the default bindings provided in Kotlin, mostly because it is a pain when mixing both APIs in a single project, especially because the kotlin-browser bindings are better than the default bindings (which is what Compose uses)MrPowerGamerBR
04/06/2025, 7:17 PMkotlin-wrappers/kotlin-browser bindings, to see if it would be hard and to learn how Compose HTML works under the hood. I recommend reading Compose HTML's code! It isn't that complicated as I thought, but that's because Jetpack Compose is doing a lot of work behind the scenes. kodee loving
Do I recommend using this? Nope! https://github.com/PerfectDreams/ComposeHTMLDreamsDavid Herman
04/08/2025, 4:32 PMMrPowerGamerBR
04/12/2025, 2:03 PMrenderComposable calls? That's pretty easy!
However the supporting the old API gets harder if code depends on ref { ... } (because the element that is passed to the ref callback is a web.html element), or if the code depends on the SyntheticEvent nativeEvent (because that's also a web.html event)
Because to support the old API, you probably would need to copy the entire DSL API to unsafeCast the new elements to the old elements when invoking the ref block and, for native events, you would need to copy all events and replace the native event with a org.w3c eventDavid Herman
04/12/2025, 9:23 PM