Hey guys, I am looking for a toolset which has short learning curve and allows to build both web apps and mobile apps using Kotlin Multiplatform. I want to make rapid prototype app for Android/iOS and Web. I am mobile developer and having not much experience with web development I am not sure how KMP works here and does it make sense to use it in this case. What do you think and what would you use in my case? Is it already easy to integrate shared KMP logic with mobile UI-frameworks like Flutter or is there any better choice? Will it also work for web app or needs some separate technology stack?
09/28/2020, 12:41 PM
the big idea of KMP is to share business / presentation logic (in kotlin). the views are still dependent on the platform (iOS, android, web). so you ultimately still need frameworks for those UIs
09/28/2020, 5:14 PM
@william I see. It makes sense. And I am ready for that. My question is about full tool set. I don’t have much experience with web development and wonder what is the best choice for the UI layer above KMP for web. And another separate question is how Flutter works on the top of KMP as an multiplatform UI framework. Maybe even Flutter could be used also as a web UI layer, I don’t know if it has enough libraries to do that.
Maybe this channel is not the best place for such question. But I expect that people who have experience with KMP are here and could advise something from their practice.
09/28/2020, 10:23 PM
can't speak to flutter, but UI layer of choice on web would probably be the same as a pure web layer choice - meaning react, likely in type script
09/29/2020, 11:57 AM
You could use Kotlin React for the UI on web, it will integrate even more easily with the shared MPP logic. It’s not very mature though, and you may face some hassles when trying to use existing react component libraries written in TypeScript, but it’s worth a try for a prototype