reselect library

Functions

createSelector1<S, R1, T>(Selector<S, R1> selector, T combiner(R1), { T Function(R1) memoize(T (R1)) }) Selector<S, T>
Create a memoized selector starting with one selector. It will cache the result of the combiner function, and only recompute when the provided selector delivers new results. [...]
createSelector2<S, R1, R2, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, T combiner(R1, R2), { T Function(R1, R2) memoize(T (R1, R2)) }) Selector<S, T>
Create a memoized selector by combining two selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector3<S, R1, R2, R3, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, T combiner(R1, R2, R3), { T Function(R1, R2, R3) memoize(T (R1, R2, R3)) }) Selector<S, T>
Create a memoized selector by combining three selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector4<S, R1, R2, R3, R4, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, T combiner(R1, R2, R3, R4), { T Function(R1, R2, R3, R4) memoize(T (R1, R2, R3, R4)) }) Selector<S, T>
Create a memoized selector by combining four selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector5<S, R1, R2, R3, R4, R5, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, Selector<S, R5> selector5, T combiner(R1, R2, R3, R4, R5), { T Function(R1, R2, R3, R4, R5) memoize(T (R1, R2, R3, R4, R5)) }) Selector<S, T>
Create a memoized selector by combining five selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector6<S, R1, R2, R3, R4, R5, R6, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, Selector<S, R5> selector5, Selector<S, R6> selector6, T combiner(R1, R2, R3, R4, R5, R6), { T Function(R1, R2, R3, R4, R5, R6) memoize(T (R1, R2, R3, R4, R5, R6)) }) Selector<S, T>
Create a memoized selector by combining six selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector7<S, R1, R2, R3, R4, R5, R6, R7, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, Selector<S, R5> selector5, Selector<S, R6> selector6, Selector<S, R7> selector7, T combiner(R1, R2, R3, R4, R5, R6, R7), { T Function(R1, R2, R3, R4, R5, R6, R7) memoize(T (R1, R2, R3, R4, R5, R6, R7)) }) Selector<S, T>
Create a memoized selector by combining seven selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector8<S, R1, R2, R3, R4, R5, R6, R7, R8, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, Selector<S, R5> selector5, Selector<S, R6> selector6, Selector<S, R7> selector7, Selector<S, R8> selector8, T combiner(R1, R2, R3, R4, R5, R6, R7, R8), { T Function(R1, R2, R3, R4, R5, R6, R7, R8) memoize(T (R1, R2, R3, R4, R5, R6, R7, R8)) }) Selector<S, T>
Create a memoized selector by combining eight selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector9<S, R1, R2, R3, R4, R5, R6, R7, R8, R9, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, Selector<S, R5> selector5, Selector<S, R6> selector6, Selector<S, R7> selector7, Selector<S, R8> selector8, Selector<S, R9> selector9, T combiner(R1, R2, R3, R4, R5, R6, R7, R8, R9), { T Function(R1, R2, R3, R4, R5, R6, R7, R8, R9) memoize(T (R1, R2, R3, R4, R5, R6, R7, R8, R9)) }) Selector<S, T>
Create a memoized selector by combining nine selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]
createSelector10<S, R1, R2, R3, R4, R5, R6, R7, R8, R9, R10, T>(Selector<S, R1> selector1, Selector<S, R2> selector2, Selector<S, R3> selector3, Selector<S, R4> selector4, Selector<S, R5> selector5, Selector<S, R6> selector6, Selector<S, R7> selector7, Selector<S, R8> selector8, Selector<S, R9> selector9, Selector<S, R10> selector10, T combiner(R1, R2, R3, R4, R5, R6, R7, R8, R9, R10), { T Function(R1, R2, R3, R4, R5, R6, R7, R8, R9, R10) memoize(T (R1, R2, R3, R4, R5, R6, R7, R8, R9, R10)) }) Selector<S, T>
Create a memoized selector by combining ten selectors. It will cache the result of the combiner function, and only recompute when the provided selectors deliver new results. [...]

Typedefs

Selector<S, T>(S state) → T
A Selector is a function that derives data from a single input, such as a the State of a Redux Store. [...]