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
When I call makeSelectReportDetails via useSelector and not pass type arg, all works fine. But with mapStateToProps I have a problem - I think, that ownProps passed to selector and this breaks my flow. How can I use selector with mapStateToProps and not automatically pass ownProps to him?
The text was updated successfully, but these errors were encountered:
I have component, that is connected to redux via
mapStateToProps
bycreateStructuredSelector
:where
makeSelectCountReports
is:where
makeSelectReportDetails
is:When I call
makeSelectReportDetails
viauseSelector
and not passtype
arg, all works fine. But withmapStateToProps
I have a problem - I think, thatownProps
passed to selector and this breaks my flow. How can I use selector withmapStateToProps
and not automatically passownProps
to him?The text was updated successfully, but these errors were encountered: