752 Views
Depending on where you put your export, you might end up with a perfectly functioning React-Redux connected component, or one that seems to ignore Redux entirely. In other words, there's a world of difference between this: and this: If you set it up like the second example, you might notice all the React stuff works, but the Redux functions mapStateToProps and mapDispatchToProps never run.
0 comments