Is it possible to use Decompose and MVIKotlin? #695
-
Hi, Thanks for making such a great Kotlin frontend library. I am wondering is it possible to integrate Decompose and MVIKotlin for shared navigation and business logic modules? The idea is that, I use Decompose and MVIKotlin to share as much code as possible all the way up to the navigation part and build the navigation tree as the shared module Then I could have Compose UI for Desktop, Android and iOS, while having Kobweb for web So I am wondering is it possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Sorry I didn't respond until now. It's very busy as we are getting ready for KotlinConf, so apologies for dropping this on the floor. I am not really familiar with Decompose or MVIKotlin, so I don't really think I can offer any great advice here. I started to look into both but then got distracted when I first saw your question. My rough guess is that Decompose will be a fight. It sounds like it's trying to solve what Kobweb core is solving. MVIKotlin sounds like it is architecture agnostic so I guess it should be possible? Note that we tried to architect Kobweb into components so that even if you don't want to use our main stuff, you can use our libraries at least. Specifically: Silk widgets w/o Kobweb: Silk classes w/o widgest: The layer that adds Android-like components into Compose HTML Additional goodies for Compose HTML: Additional goodies for lower level browser APIs: |
Beta Was this translation helpful? Give feedback.
Sorry I didn't respond until now. It's very busy as we are getting ready for KotlinConf, so apologies for dropping this on the floor.
I am not really familiar with Decompose or MVIKotlin, so I don't really think I can offer any great advice here. I started to look into both but then got distracted when I first saw your question.
My rough guess is that Decompose will be a fight. It sounds like it's trying to solve what Kobweb core is solving. MVIKotlin sounds like it is architecture agnostic so I guess it should be possible?
Note that we tried to architect Kobweb into components so that even if you don't want to use our main stuff, you can use our libraries at least. Specifically:
Silk wid…