Skip to content

Instantly share code, notes, and snippets.

@brandonroberts
Created November 17, 2021 13:56
Show Gist options
  • Save brandonroberts/1f700b41450fedd6da42d221753692e0 to your computer and use it in GitHub Desktop.
Save brandonroberts/1f700b41450fedd6da42d221753692e0 to your computer and use it in GitHub Desktop.
Selectors - NgRx 13
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