Redux actions/reducers vs. directly setting state
问题 I'm new to Redux. I'm having trouble understanding the value of actions and reducers vs. components directly modifying the store. In Redux, your React components don't change the store directly. Instead they dispatch an action -- sort of like publishing a message. Then a reducer handles the action -- sort of like a message subscriber -- and changes the state (more precisely, creates a new state) in response. I feel like the pub/sub-like interaction adds layers of indirection that make it