The engineering notebook
RSS feed#tca
Articles, practical guides, and engineering notes on tca.
By Ashish Bhakhand 108 published articles
Explore the articles
8 articles
Reset filtersTesting TCA Features with Controlled Dependencies and Time
Drive reducer actions directly while clocks, streams, identifiers, and clients produce deterministic effects.
Deep Linking into Nested TCA State
Translate a URL into application intent, select the right tab, and restore the destination state it requires.
Optimistic Chat UI with Idempotent Server Turns
Show messages immediately while reconciling acknowledgements, streamed text, persistence, failures, and safe retries.
Consuming Server-Sent Events in Swift Without Breaking Cancellation
Parse typed SSE frames, expose AsyncSequence events, and stop network and reducer work when the user leaves.
Splitting Large TCA Features Without Losing the State Flow
Separate state, actions, reducer logic, and child domains while keeping one understandable feature contract.
One Client Boundary per Feature in TCA
Give reducers a small capability-based dependency while network, persistence, and caching remain implementation details.
The Composable Architecture in a Real Application
Use state, actions, reducers, effects, and dependencies to make complex SwiftUI behavior explicit and testable.
How I Structure a Large SwiftUI Application by Feature
Keep state, views, domain rules, and data implementations close to the product capability they serve.