https://kotlinlang.org logo
Title
m

ms

07/18/2021, 5:32 PM
STATE MANAGEMENT & ARCHITECTURE DISCUSSION 🧵 1. What kind of architecture are you using other than
ViewModel
? 2. Are there any plans for a library which suits better for Compose? 3. What is the recommended approach in your opinion?
i

Ian Lake

07/18/2021, 10:23 PM
Compose is agnostic to what architecture pattern you might want to use. Even
ViewModel
is not a "kind of architecture" - it is just a data holder that gives you an alternate place to hoist your state. Whether you 1) use it at all or 2) use it for more than that is up to you
☝️ 2