Created
November 4, 2017 10:17
-
-
Save muneneevans/c13686e28dec857487477974c867f569 to your computer and use it in GitHub Desktop.
Selectors manipulate and provide data to the user interface
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 function getPosts(state){ | |
return state.postsReducer.posts | |
} | |
export function getPostStatus(state){ | |
return state.postsReducer.postsIsFetched | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment