Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import { Provider, createClient } from 'urql';
const client = createClient({
url: 'http://localhost:4000/graphql',
});
const YourApp = () => (
<Provider value={client}>
{/* ... */}
</Provider>;
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.