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
We can currently call connect with an object argument for mapDispatchToProps, where each function in the object is assumed to be an actioncreator. Could a similar option be available for mapStateToProps, where it would be assumed that each function in the object would be a selector? This could then be used as, for example:
We can currently call connect with an object argument for mapDispatchToProps, where each function in the object is assumed to be an actioncreator. Could a similar option be available for mapStateToProps, where it would be assumed that each function in the object would be a selector? This could then be used as, for example:
I am currently achieving this with the following:
The text was updated successfully, but these errors were encountered: