Skip to content

Instantly share code, notes, and snippets.

@kianaditya
Last active June 4, 2019 19:04
Show Gist options
  • Save kianaditya/721a2c62d1feb9ebf46e913b55027068 to your computer and use it in GitHub Desktop.
Save kianaditya/721a2c62d1feb9ebf46e913b55027068 to your computer and use it in GitHub Desktop.
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