const client = new ApolloClient({
uri, cache
});
<ApolloProvider client={client}> </ApolloProvider>
const { loading, error, data } = useQuery(QUERY);
const client = new ApolloClient({
uri, cache
});
<ApolloProvider client={client}> </ApolloProvider>
const { loading, error, data } = useQuery(QUERY);