Problem Statement
Explain the unidirectional data flow in Redux.
Explanation
Redux follows a strict unidirectional data flow where UI components dispatch actions, actions are sent to reducers which calculate new state based on the current state and action, and the store updates causing subscribed components to re-render with new data. This one-way flow makes the application predictable because you always know where state changes originate from and how they propagate through the application. The pattern eliminates confusion about data flow and makes debugging much easier since you can trace exactly how each state change occurred.
