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
Colton Idle
08/06/2021, 6:34 AM
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
Norbi
08/06/2021, 9:49 AM
"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
MrPowerGamerBR
08/06/2021, 11:15 AM
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
ESchouten
08/06/2021, 4:20 PM
@MrPowerGamerBR But when developing a multiplatform application you wouldn't want to do that anyways, right