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


I've been advocating this in all projects we have using Redux. Did discover a nasty issue the other day though where circular references in your modules can cause imported action creators / thunks to be undefined when passing to the shorthand. Using the older function syntax works around this problem.

Code of Conduct Report abuse