Memoized state selectors. Cheap, dependency-free, typed.
createSelector returns a function that computes a derived value from
state. The combiner re-runs only when one of its declared inputs returns
a new reference (compared by Object.is). Reading the same state twice
never re-computes.
Memoized state selectors. Cheap, dependency-free, typed.
createSelectorreturns a function that computes a derived value from state. The combiner re-runs only when one of its declared inputs returns a new reference (compared byObject.is). Reading the same state twice never re-computes.