What do you use for state management?
As far as I know Redux is a popular choice, but given that the rest of the team is heavily using MVVM architecture I am wondering if an MVVM architecture would make sense on the web.
10/06/2022, 2:28 PM
I’ve been developing the Ballast MVI library, which has great support for Compose Web. You can play with examples directly in the docs site, and even connect those up to its Intellij plugin for time-travel debugging.
For Compose, I always recommend an MVI approach to state management over MVVM, so that your components don’t depend on a specific ViewModel implementation, but keep them as a general contract of state and callbacks