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
This will allows me to do const mapStateToProps = makeProps({products, total}); where products and total are selector functions. I believe it's somewhat similar to combineReducers (at least in spirit).
There aren't any performance issues that I'm overlooking, are there?
Can I add this to react-redux?
The text was updated successfully, but these errors were encountered:
I've written this simple function that I believe simplifies creating mapStateToProps:
This will allows me to do
const mapStateToProps = makeProps({products, total});
whereproducts
andtotal
are selector functions. I believe it's somewhat similar to combineReducers (at least in spirit).The text was updated successfully, but these errors were encountered: