loading...

re: You've been doing mapDispatchToProps wrong this entire time VIEW POST

TOP OF THREAD FULL DISCUSSION
re: That's true, and I feel like to someone new, it's more obvious what is going on, since it's explicit, dispatch is just injected into props, whereas...
 

In this case actions you might emit would not a part of component’a public interface (aka props).
Giving ‘dispatch’ and letting component do whatever it wants - might not be a good idea.

code of conduct - report abuse