Created
December 24, 2019 13:58
-
-
Save lydemann/21c1de8006b65ef136e4bca1764779a7 to your computer and use it in GitHub Desktop.
todo-list.selector.ts
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
export const getTodolistState = createFeatureSelector<TodoListState>( | |
'todoList', | |
); | |
export const todoListSelector = createSelector( | |
getTodolistState, | |
todoListState => todoListState.todos, | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment