Last active
June 6, 2017 19:30
-
-
Save tricoder42/f8479d9cbed6aba46e3da73efaf5e8c2 to your computer and use it in GitHub Desktop.
2017/06/06 [Medium] Use Selectors in Redux for Great Good
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
const mapStateToProps = (state) => ({ | |
todos: allTodos(state) // instead of state.todos | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment