Answer
NgRx uses a predictable data flow:
- Actions: Describe events
- Reducers: Update state immutably
- Store: Holds global state
- Selectors: Retrieve computed data
- Effects: Handle async operations
The flow is: Actions ? Reducers ? Store ? Selectors ? Components ? Effects ? new Actions.