Skip to content

Instantly share code, notes, and snippets.

@philipszdavido
Created September 17, 2017 16:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philipszdavido/e7bda3f6e8e8c4c968079e5075d78bf0 to your computer and use it in GitHub Desktop.
Save philipszdavido/e7bda3f6e8e8c4c968079e5075d78bf0 to your computer and use it in GitHub Desktop.
//src/app/redux/reducer/index.ts
export const getArticleState = (state : State) => state.articles;
export const getArticles = createSelector(getArticleState,fromArticle.getArticles);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment