Wdyr ignores equality function in useSelector #190
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Low priority
When using wdyr I noticed that it reports unnecessary renders caused by useSelector with an equality function even though the equality function causes the render to be avoided. Looking at the code it looks like wdyr does not consider the result of the equality function.
An example:
useSelector(someSelector, (prev, next) => true);
The text was updated successfully, but these errors were encountered: