Can we develop any UI inside of the common layer y...
# compose-desktop
s
Can we develop any UI inside of the common layer yet between android and desktop, or is the UI only available in the platform directories currently?
a
According to samples, yes we can.
s
This is fantastic
🎉 4
I thought it was going to be at least a year before we saw anything like this materialize
s
In fact, it is already working for Kotlin/JS also but only inside a single module due to Kotlin IR compiler plugin API limitations. Here is the demo: https://zal.im/h8/ We are preparing the sources of that prototype. But note that it is far from production, it’s just a proof of concept.
K 13
🎉 7
❤️ 1
s
@snrostov thanks for the awesome work... i assume we will using the DOM elements for rendering the app instead of the flutter approach,(rendering everything on canvas) which has poor user experience ?
s
@suresh thanks for the kind of words. Yes, the prototype working on top of DOM nodes rather than canvas. However, It may be challenging to implement a common API between platforms that are working on top of pixels and DOM nodes rendering. It is unclear how it will be in the end.
👍 2