We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've just had a case when I misused createSelector by mistakenly passing resultFunc into array with inputSelectors.
createSelector
resultFunc
createSelector([ firstSelector, secondSelector, (firstParam, secondParam) => { ... return { ...derivedProps } }, ])
And error message I had is bit confusing
resultFunc.apply is not a function
and it took me a while to define what exactly caused this error.
I propose to add error in case when resultFunc is not a function to make it more clearer to find and fix mistakes like this.
The text was updated successfully, but these errors were encountered:
Sad to see that such popular projects get abandoned
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
I've just had a case when I misused
createSelector
by mistakenly passingresultFunc
into array with inputSelectors.And error message I had is bit confusing
and it took me a while to define what exactly caused this error.
I propose to add error in case when resultFunc is not a function to make it more clearer to find and fix mistakes like this.
The text was updated successfully, but these errors were encountered: