DaffCategoryMemoizedSelectors

An interface for selectors that combine category metadata and category entities selectors.

Properties

Name Type Description
selectCurrentCategory MemoizedSelector<DaffCategoryStateRootSlice<V>, V> Selects the current category
selectCategoryPageProducts MemoizedSelector<DaffCategoryStateRootSlice<V, W>, W[]> Selects the products of the current category.
selectCategory (categoryId: V['id']) => MemoizedSelector<DaffCategoryStateRootSlice<V>, V> Selects a category by id.
selectProductsByCategory (categoryId: V['id']) => MemoizedSelector<DaffCategoryStateRootSlice<V, W>, W[]> Selects products by category id.
selectTotalProductsByCategory (categoryId: V['id']) => MemoizedSelector<DaffCategoryStateRootSlice<V>, number> Selects the total number of products in a category.
Graycore, LLC © 2018 - 2024. Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.