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
{{ message }}
Repository navigation
how to use createStructuredSelector with parametrized selectors? #599
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?
changed the title [-]how to use createStructuredSelector with parametrized selectors?[/-][+]how to use `createStructuredSelector` with parametrized selectors?[/+]on Mar 18, 2026
Activity
markerikson commentedon Feb 14, 2023
Honestly, the best answer here is to not use
connect, and instead use the React-Redux hooks API:https://react-redux.js.org/api/hooks
inikonorov commentedon Feb 14, 2023
thx
aryaemami59 commentedon Mar 16, 2024
I believe this is no longer an issue in v5.
[-]how to use createStructuredSelector with parametrized selectors?[/-][+]how to use `createStructuredSelector` with parametrized selectors?[/+]aryaemami59 commentedon Mar 18, 2026
Resolved in #626.