reselect icon indicating copy to clipboard operation
reselect copied to clipboard

Arity check for selector arguments.

Open Fourfingerz opened this issue 10 years ago • 2 comments

I was curious if there was any interest in an arity check for # of selector arguments. Not a biggie, but instead of having weird inconsistent array shifts being fed into React, I could quickly write some sort of error catch that enforces an arity count.

Fourfingerz avatar May 02 '16 22:05 Fourfingerz

Hey @Fourfingerz, thanks for the suggestion. I can't say that this is something that has been causing me any problems. Has anyone else been finding this a pain point?

If we do decide to put this in then it would have to not cause a performance hit and also work when the first parameter is an array of selectors.

ellbee avatar May 04 '16 20:05 ellbee

Closing due to inactivity.

ellbee avatar Jul 03 '16 09:07 ellbee