mercredi 22 septembre 2021

Saga pattern for multiple ViewModels in SwiftUI

Have you heard of the Saga pattern used in microservices? In the event that one view has several view models, as I understand, it would be possible to control the display of the view. That is, if some view model has not loaded yet, then we expect it. And Saga can help us in controlling this case.

Have you met something like this, does it make sense? Maybe someone has an example implementation. Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire