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 React from 'react'; | |
import { render } from 'react-dom'; | |
import ApolloClient from 'apollo-boost'; | |
import { ApolloProvider } from 'react-apollo'; | |
// Pass your GraphQL endpoint to uri | |
const client = new ApolloClient({ | |
uri: 'https://nx9zvp49q7.lp.gql.zone/graphql' | |
}); |