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 Pass Generics to createSelector With Arguments? #742
changed the title [-]How to Pass Generics to createSelector With Arguments?[/-][+]How to Pass Generics to `createSelector` With Arguments?[/+]on Mar 18, 2026
Activity
EskiMojo14 commentedon Mar 10, 2025
due to typescript limitations, reselect selectors cannot be generic (and you shouldn't be passing type parameters to them)
with that said, your example doesn't even need reselect:
There's nothing being derived, so there's no memoisation needed
[-]How to Pass Generics to createSelector With Arguments?[/-][+]How to Pass Generics to `createSelector` With Arguments?[/+]