I thought it was going to be at least a year before we saw anything like this materialize
Assuming compose for iOS (and js) ever comes out, being able to develop UI from the common layer, puts Kotlin multiplatform on the same level in terms of ease of use as Flutter and react-native.
👍 3
s
snrostov
11/05/2020, 6:56 PM
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.
@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
snrostov
11/08/2020, 11:10 AM
@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.