Skip to content

Instantly share code, notes, and snippets.

@johnnykoo84
Created September 14, 2018 01:13
Show Gist options
  • Save johnnykoo84/e05dc9d222bd2b6aef11990974ffb376 to your computer and use it in GitHub Desktop.
Save johnnykoo84/e05dc9d222bd2b6aef11990974ffb376 to your computer and use it in GitHub Desktop.
import React from "react";
import ReactDOM from "react-dom";
import { ApolloProvider } from "react-apollo";
import client from "./apollo/client";
import App from "./App";
const wrappedApp = (
<ApolloProvider client={client}>
<App />
</ApolloProvider>
);
ReactDOM.render(wrappedApp, document.getElementById("root"));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment