React - Is not possible to set custom settings in Playground component
See original GitHub issueI’m trying to use this:
<Playground
headers={headers}
endpoint="/graphql"
height="100%"
settings={{
'schema.polling.enable': false
}}
/>
But the Playground still displaying ‘schema.polling.enable’ as true.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:6
- Comments:8
Top Results From Across the Web
React - Is not possible to set custom settings in Playground ...
I'm trying to use this: But the Playground still displaying 'schema.polling.enable' as true.
Read more >SyntaxError: unknown: Namespace tags are not supported by ...
React's JSX doesn't support namespace tags. You can turn on the 'throwIfNamespace' flag to bypass this warning. import React from "react" ...
Read more >Synchronizing with Effects - React Docs
Some components need to synchronize with external systems. For example, you might want to control a non-React component based on the React state,...
Read more >Style React Components: 7 Ways Compared - SitePoint
There are a number of ways to style React components. Choosing the right method for styling components isn't a perfect absolute.
Read more >CSS Variables for React Devs - Josh W Comeau
This tutorial shows how we can use them with React to create dynamic ... You can do things with CSS variables that are...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Here’s a programmatic workaround that works for me. It’s unfortunate we have to do it this way, but it works:
@douglasmuraoka I can’t think of any work around to do that.