reselect icon indicating copy to clipboard operation
reselect copied to clipboard

Contradiction between usage examples in README and Redux docs

Open DenyVeyten opened this issue 2 years ago • 1 comments

Basic Usage examples https://github.com/reduxjs/reselect#basic-usage (selectSubtotal, selectTax) contradict guide in Redux docs https://redux.js.org/usage/deriving-data-selectors#balance-selector-usage

I think both should be updated to some middleground, explaining that memoization is good over heavy operations (e.g. iterating long lists), but is overhead for simple ones (e.g. small math calculations, iterating short lists).

DenyVeyten avatar Feb 11 '23 04:02 DenyVeyten

Yeah, the README here is rather dated, but we've got a lot of other priorities and this really isn't on the list to update any time soon.

(Plus, there's always the issue with trying to show the basic techniques and mechanics, vs a "realistic" example that is more meaningful.)

markerikson avatar Feb 11 '23 05:02 markerikson

This one has been resolved by #636.

aryaemami59 avatar Mar 16 '24 18:03 aryaemami59