To set up a GQL provider for your React app:
import { Provider } from 'api/client';const App = () => ( <Provider config={{url: 'https://your.graphql.url'}}> <App /> </Provider>);
Function to extract the query names from a GQL document
DocumentNode from parsed GQL query
An array of operation names
Creates a configured GraphQL client with proper cache normalization and resolvers
A React Provider to configure an app-level graphql client...
Generated using TypeDoc
To set up a GQL provider for your React app: