Created
December 2, 2016 13:24
-
-
Save oreqizer/1f861654c4535934b8cb9f962cec3fb4 to your computer and use it in GitHub Desktop.
An example how to use a selector.
This file contains hidden or 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
// ...your component | |
export default connect((state, props) => ({ | |
todos: todosSelector(state, props), | |
}), todoActions)(Todos); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment