TCA provides architecture for building complex, testable features through composable reducers, centralized state management, and side effect handling. The core principle: predictable state evolution with clear dependencies and testable effects.
ALWAYS load reference files if there is even a small chance the content may be required. It's better to have the context than to miss a pattern or make a mistake.
| Reducer Structure | Creating new reducers, setting up @Reducer, State, Action, or @ViewAction | | Views - Binding | Using @Bindable, two-way bindings, store.send(), or .onAppear/.task | | Views - Composition | Using ForEach with stores, scoping to child features, or optional children |
Da utilizzare durante la creazione di funzionalità con TCA (The Composable Architecture), la strutturazione di riduttori, la gestione dello stato, la gestione degli effetti, la navigazione o il test delle funzionalità TCA. Copre @Reducer, Store, Effect, TestStore, composizione del riduttore e modelli TCA. Fonte: johnrogers/claude-swift-engineering.