Created
August 25, 2017 15:27
-
-
Save gc-codesnippets/1d86beafd41e61b5c0a6c186d274e511 to your computer and use it in GitHub Desktop.
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
| export default createFragmentContainer(ListPage, graphql` | |
| fragment ListPage_viewer on Viewer { | |
| allPosts(last: 100, orderBy: createdAt_DESC) @connection(key: "ListPage_allPosts", filters: []) { | |
| edges { | |
| node { | |
| ...Post_post | |
| } | |
| } | |
| } | |
| } | |
| `) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment