Last active
March 8, 2018 10:04
-
-
Save nikolasburk/d7550ea7e13ab267d368003858514e6d to your computer and use it in GitHub Desktop.
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
class App extends Component { | |
render() { | |
return <div>{this.props.data.hello}</div> | |
} | |
} | |
const HELLO_QUERY = gql` | |
query hello { | |
hello | |
} | |
` | |
export default graphql(HELLO_QUERY)(App) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment