Closed evandavis closed 1 year ago
sorry, dupe of #598
Yeah, the Reselect README could definitely use some love, especially with v5 upcoming.
Yeah, the Reselect README could definitely use some love, especially with v5 upcoming.
I'm on it. It's certainly going to look different...
The documentation as written creates confusion around when and when not to use memoization. Specifically, the section Balance Selector Usage contains the following code:
This makes sense to me! However, the Create Selector Overview shows the following examples:
These examples seem to be explicitly discouraged, but you'd only know that by reading the entire doc. Based on the number of real-world examples I've seen of people memoizing simple lookups, I don't think many people are getting all the way to the bottom.
Could the docs be updated so that the examples follow best-practices? (I'm happy to open a PR if that's helpful.) Thanks!!