The post discusses the dark side of unidirectional architectures in Swift, specifically focusing on the ping-pong problem caused by modeling events as values. It explores different implementations and their impact on code readability. The author concludes that while unidirectional architectures have their benefits, a more flexible and constrained approach, such as using a view model, may be a safer choice.

7m read timeFrom medium.com
Post cover image
Table of contents
The Dark Side of Unidirectional Architectures in SwiftIntroductionThe ping-pong problem in practiceConclusion

Sort: