-
-
Save lydemann/a77c1dfee67a2dfded6bc2cc2ecdc757 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { createSelector } from ‘@ngrx/store’; | |
import { selectIsViewReady, selectProductsList } from ‘../core’; | |
export const selectProductListViewModel = createSelector( | |
selectIsViewReady, | |
selectProductsList, | |
(ready, products) => ({ ready, products }) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment