If I understand the code samples here correctly, Compose for Web enables someone to write basically standard HTML/CSS components (in the "React" sense) and the hope is that higher level components wrapping the platform-specific components will be written:
> Use and build Compose widgets that work on Android, Desktop, and Web by utilizing Kotlin's expect-actual mechanisms to provide platform-specific implementations
While layout will be handled in-house (not via traditional HTML layouts?)
> Experiment with a set of layout primitives and APIs that mimic the features you already know from Compose for Desktop and Android
This seems a much nicer approach than Flutter's default ("we render everything in a canvas")
But can this really pan out? Layout being handled in-house, non-native UI elements on iOS/Android (from what I have read) are strong signals the "higher level components" approach doesn't work in practice