Hi, I am thinking about creating an app for personal use and I thought I could try doing it in KMP to try the tech. Coming from Android, I am familiar with the architecture of network layer - repository - use cases - viewmodel - UI. Now, I am interested what are some best practices for KMP app architecture? I can imagine I could do the network layer with KTor, repositories, usecases are just kotlin classes so no problem there, Koin for DI. I'd like to go for native UI with Compose/SwiftUI to get my hands on SwiftUI a bit as well.
But I am not sure, how to approach the ViewModel part. I suppose Android VMs behave differently from iOS's. Do I share the logic until the viewmodels and handle viewmodels and UI separately or is there a way to share even the UI logic that would come from VMs?
Could somebody who works with KMP day to day give me sauce on how you develop your app, especially regarding the VMs part? Thank you so much in advance