https://kotlinlang.org logo
#compose-web
Title
# compose-web
a

Abhimanyu

03/29/2024, 6:14 PM
Hi all, Deployed a simple static web page using Compose Web. On inspection, I see that the whole page is a
Canvas
with id
ComposeTarget
. The text are not selectable, right click is not working anywhere on the page, there is no DOM structure. How to resolve all these?
r

Robert Jaros

03/29/2024, 7:16 PM
Compose Web does not render to DOM.
👍 1
Don't worry if it seems confusing 😉
😀 1
a

Abhimanyu

03/30/2024, 4:13 AM
Thanks for mentioning this. It seems like Compose HTML is what I would want to use. Is Compose Web supposed to be a replacement for Compose HTML?
a

Arjan van Wieringen

03/30/2024, 7:30 AM
No it shouldn’t. Completely different use cases. Compose HTML is the only production ready web based Compose solution available atm
👍 2
6 Views