Hello!
I am considering Transition from Orbit-MVI to Kotlin StateFlow in KMP Project. Initially, I incorporated the testing framework and side effects, but with time I tried to make things as simple as possible. I've reached a point where I use Orbit only for updating the data flow. Could you help me understand what I might lose by forgoing Orbit in this context?
@Mikolaj Leszczynski@appmattus any thoughts on this? I know it’s a difficult question but since Orbit KMP is stale for a long time (~3 years for the swift-plugin) and no visible work is in progress, I believe it’s a good and healthy debate.
➕ 1
m
Mikolaj Leszczynski
02/16/2024, 2:24 PM
@Mikolaj you would not lose much - since you're already foregoing Orbit's threading etc.
If you've reached this point, I don't recommend using Orbit at all, it's like trying to shoot a pigeon with a cannon.
Just use StateFlow's
update
function
👍 1
m
Mikolaj
02/16/2024, 2:28 PM
@Mikolaj Leszczynski thenks for the reply 🙌 I began the migration process this week, and so far, everything has been smooth sailing. Your response has only strengthened my confidence in the decision