Why is the current Compose-Web APIs look so strang...
# compose-web
c
Why is the current Compose-Web APIs look so strange? Is it possible to use the APIs that is consistent with Desktop, Android?
1
c
I still don't understand compose web that well, but I think it's the point that it's trying to inter-op with the DOM so that you don't lose all of the web features you get for free with the dom like SEO and accessbility?
👍 1
👍🏻 1
n
"inter-op with the DOM" - Which is a very good design decision IMHO. You can build any components you want based on the DOM API. And maybe in the future there will be a canvas-based renderer for the Web platform that will support Multiplatform composables as well.
m
and you can also use JavaScript libs that uses the DOM with Jetpack Compose Web, that wouldn't be possible if it was canvas-only
👍🏻 1
👍 3
e
@MrPowerGamerBR But when developing a multiplatform application you wouldn't want to do that anyways, right
also yes 4