Jetpack Compose for JS version works with self Composables, which not allow to write common UI. There are two options:
Wrapper for each Composables
Use different UI frameworks on each platform. (Research: OpenGL)
The second one sounds more reliable to me, cause Web version should migrate to WAsm version. Also the second one will allow to implement Vulkan and other 2D graphics frameworks.
Jetpack Compose for JS version works with self Composables, which not allow to write common UI. There are two options:
The second one sounds more reliable to me, cause Web version should migrate to WAsm version. Also the second one will allow to implement Vulkan and other 2D graphics frameworks.