I am using createStructuredSelector from reselect like:
I am having a problem passing arguments to selectors. I am able to do event:
totalScore()
, which could return something. However, I am unable to get the version with arguments, conceptually event:
studentId => total : totalScore(studentId)
working.
Can you guide me?
I found the answer, the following method can be used to send our argument to createStructuredSelector.