Question for everyone: What is your preferred arch...
# compose-desktop
l
Question for everyone: What is your preferred architecture for compose multiplatform projects?
Not bait šŸ˜… just curious, im not sure myself what the best option is and want to see what other people think
c
Everyone: ā€œThe architecture that I use, obvsā€
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