Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
GraphQL Query for Blog Posts
// From client/containers/Blog/posts.graphql.ts
import gql from 'graphql-tag';
export default gql`
query Posts {
posts {
id: _id
title
image
content
}
}
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment