Design Patterns · Middle · Question 22 of 75
What is unidirectional data flow in the Flux architecture?
- ✓Correct answer: Action → dispatcher → store → view, in a loop
- 2Data is passed only from server to client, never back
- 3Components exchange data directly in both directions via references
Explanation
Flux appeared at Facebook as a response to tangled two-way connections in MVC. The view doesn't change the store directly; it dispatches an action. Redux simplified the idea: one store and pure reducers instead of a dispatcher and several stores.