4 ms·
In my experience action creators and actions in the reducer don't necessarily map 1 to 1, and often don't. I think of action creators as the API to the reducer.
by kiliancs 9y ago
In my experience action creators and actions in the reducer don't necessarily map 1 to 1, and often don't. I think of action creators as the API to the reducer. This makes a lot more sense when using redux-thunk and similar, of course.