Question for everyone:
What is your preferred architecture for compose multiplatform projects?
Lucas
10/12/2022, 9:16 PM
Not bait š just curious, im not sure myself what the best option is and want to see what other people think
c
Casey Brooks
10/12/2022, 9:16 PM
Everyone: āThe architecture that I use, obvsā
Casey Brooks
10/12/2022, 9:20 PM
But in all seriousness, thereās an entire section in the Android Compose documentation on architecture, and almost all of that is applicable to Compose Desktop in the same way https://developer.android.com/topic/architecture
Compose, generally, was built upon the Unidirectional Data Flow (UDF) pattern, and youāll have the best time following along with that. And not only that, but the latest generation of toolkits for other platforms (SwiftUI, React, Flutter) is also based around this concept. MVI is a more formalized āarchitecture patternā for this general idea