Problem Statement
What does the dispatch() method do in Redux?
Explanation
The dispatch method is the only way to trigger a state change in Redux by sending an action object to the store. When you call dispatch with an action, Redux passes that action to the reducer function which then calculates and returns the new state. This makes state changes predictable and traceable.
