numq
•
May 16
•
in Articles
• 2 min read
MVVM seemed simple. Then you added ten MutableStateFlow properties to your ViewModel. MVI promised purity. Then you wrote a middleware for side effects.
There’s a better way.
The Problem With MVVM
A typical ViewModel looks like this:
class Profil...