Pregunta de entrevista de Binance

How would you implement state driven architectures in SwiftUI?