Created
February 5, 2018 23:46
-
-
Save johnymontana/e975fe06e25827fb4f2d078f43f0d9a4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 App from "./components/App"; | |
| import React from "react"; | |
| import { render } from "react-dom"; | |
| import { Client, Provider } from "urql"; | |
| const client = new Client({ | |
| url: "https://3wzp7qnjv.lp.gql.zone/graphql" | |
| }); | |
| const Root = () => ( | |
| <Provider client={client}> | |
| <App /> | |
| </Provider> | |
| ); | |
| render(<Root />, document.getElementById("root")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment