You are currently viewing Will `Jetpack Compose for Web` replaces `kotlin-react`?

Will `Jetpack Compose for Web` replaces `kotlin-react`?

Hi folks. According to this video JetBrains


fully written in Kotlin (server, mobile, web). Web version uses Kotlin ReactJS wrapper I think.

But React wrapper is not the best choice because of foreign language (JavaScript) implementation which dictates React developers language specific solutions. Because of what interoperability always be with some sort of friction and boilerplate. Moreover code reusage with mobile platform in this case is minimal.

Jetpack Compose for Web is really shines in this situation. It almost fully Kotlin solution (we still need some browser specific features, maybe some libraries helps minimize manual manipulations) which could reuse more code with Android (UI logic composables, etc). That is, we get more ergonomic approach for building cross platform UI in Kotlin.

submitted by /u/Kirill_Khalitov
[link] [comments]