Having some issues with Decompose on Kotlin/JS (wi...
# decompose
m
Having some issues with Decompose on Kotlin/JS (with Compose for HTML); Using 2.0.0 reports no support for Kotlin/JS (IR), and using 2.0.0-compose-experimental seems to depend on skiko-js-0.7.58 which doesn't seem to exist anywhere.
a
I think the issue is because the
extensions-compose-jetbrains
module doesn't support Compose for DOM (HTML).
m
in that case, what would be the web equivalent of
Children
?
a
The best way is to copy it from here: https://github.com/arkivanov/Decompose/blob/0f3b440807a73572f19cd4ef0ba3f3cf512a886f/extensions-compose-jetbrains/src/commonMain/kotlin/com/arkivanov/decompose/extensions/compose/jetbrains/stack/Children.kt#L17 But drop all animations and
Modifier
, as they are not supported by Compose for HTML anyway. This will be a tiny 60 LOC file.