TCA & SwiftUI view lifecycle
SwiftUI's view lifecycle and TCA's store lifetime don't always align. I explore how to reliably tie cleanup side effects to a view's lifetime using cancellable effects and AsyncStream.
SwiftUI's view lifecycle and TCA's store lifetime don't always align. I explore how to reliably tie cleanup side effects to a view's lifetime using cancellable effects and AsyncStream.