Last active
June 4, 2019 19:04
-
-
Save kianaditya/721a2c62d1feb9ebf46e913b55027068 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
import React from 'react'; | |
import './App.css'; | |
import { ApolloClient } from "apollo-boost"; | |
import { ApolloProvider } from "react-apollo"; | |
import MyProfile from './components/MyProfile'; | |
const client = new ApolloClient({ | |
}); | |
const App = () => { | |
return ( | |
<ApolloProvider client={client}> | |
<div className="App"> | |
<h1>GitHub API</h1> | |
< MyProfile/> | |
</div> | |
</ApolloProvider> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment