Hi, are there any plans to support the DOM for the...
# multiplatform
r
Hi, are there any plans to support the DOM for the wasm web target? Right now it's hard to figure out why something isn't working. If that's not in the planning, are there any plans to provide similar multi-platform development tools?
t
cc @bashor
🙏 1
b
@Rik Schaaf could you please provide more information about your case? Thanks!
Hi, are there any plans to support the DOM for the wasm web target?
What do you mean by DOM support? Where? There is kotlinx-browser library allowing using Browser API form Kotlin.
Right now it’s hard to figure out why something isn’t working.
Please share some specific cases.
If that’s not in the planning, are there any plans to provide similar multi-platform development tools?
Do you mean similar to browser devtools? Which exactly features do you miss?
r
My bad, I was tired and I might have confused Kotlin Multi-Platform with Compose Multi-Platform. When using CMP with WASM for the Web, everything is rendered in a single canvas and it's therefore hard to debug if a composable isn't behaving the way you want. It would be nice if there was something available similar to the dev tools that you have in browsers. Since this is the general KMP channel, I now realize this might not be the best place to ask the question though.
b
devtools in browser has many things, if you asking about something DOM tree view I think it’s worth to file an issue.
if you looking for debug capabilities, please check out this https://kotlinlang.org/docs/wasm-debugging.html
r
Ty, I'll take a look