I started learning to do native iOS development and have just watched an introductory SwiftUI course online. What I find interesting is SwiftUI is very similar to both Vue and flutter in that it uses a declarative syntax (flutter) and the reactivity is similar to Vue.
As a beginner, I have two questions:
- how to manage state in swiftui? Is there a common pattern or there is a library like Vuex in Vue to manage the state?
- At work we are migrating a Vue web app to native mobile apps; what's the commonly recommended architecture pattern in SwiftUI?