Returns context that plugins can use to interact with the GraphiQL runtime.
Call from inside a plugin's content component (which renders within the <GraphiQLProvider> tree).
content
<GraphiQLProvider>
ctx.transport is undefined when the host uses the legacy fetcher prop.
ctx.transport
undefined
fetcher
Returns context that plugins can use to interact with the GraphiQL runtime.
Call from inside a plugin's
contentcomponent (which renders within the<GraphiQLProvider>tree).ctx.transportisundefinedwhen the host uses the legacyfetcherprop.