Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add hasInserterItems selector and improve getInserterItems selector performance #11845
In this PR, I'm adding a new
I also refactored a little bit the selectors to avoid using a memoized version of
I don't have the numbers as it's very hard to measure but I'd love your thoughts. I'm also considering dropping the memoization of these two selectors entirely because the cache is invalidated too often IMO.