Skip to content

Instantly share code, notes, and snippets.

@gc-codesnippets
Created August 25, 2017 15:05
Show Gist options
  • Save gc-codesnippets/538794bb0bc2308bfbd809d06d29cbd9 to your computer and use it in GitHub Desktop.
Save gc-codesnippets/538794bb0bc2308bfbd809d06d29cbd9 to your computer and use it in GitHub Desktop.
export default createFragmentContainer(Todo, {
todo: graphql`
fragment Todo_todo on Todo {
id,
complete,
text,
}
`,
viewer: graphql`
fragment Todo_viewer on Viewer {
id,
}
`,
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment