You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this is definitely not best practice, as mentioned in the React-Redux documentation here.
We should swap all mapDispatchToProps to be defined using object shorthand, we don't need the additional control over dispatch offered by defining it as a function. Will do this manually at some point, it isn't critical.
Currently, the codebase uses
bindActionCreators
in conjunction withmapDispatchToProps
. This may be unnecessary, see Option 4 here and this articleThe text was updated successfully, but these errors were encountered: