komoot interview question

SwiftUI StateObject usage and uniqueness