The Composable Architecture - WHAT, WHEN, WHY
Channel: Engineering Community
Date: 18/10/2022

Key Components of this pattern:

- State
- Action
- Environment
- Store
- Reducer

Why we need this architecture:

- The data flow through the different components is clearly defined and unidirectional.
- The environment contains all dependencies.
- By composing separate features together, each feature can be planned, built, and tested on its own. - Using TCA can change the way you work on apps, allowing you to focus on one part of the app at a time and even run it in isolation.
- Only reducers transform the state by processing actions. Testing a feature boils down to running the reducer with actions and comparing the resulting state with the expectation