Binance Interview Question

How would you implement state driven architectures in SwiftUI?