We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I'm trying to use <GraphiQL> as a controlled component, with a global redux store.
<GraphiQL>
[email protected]
onEditVariables
I noticed that in 1.x, VariableEditor ignores change events till the first componentDidUpdate
componentDidUpdate
graphiql/packages/graphiql/src/components/VariableEditor.tsx
Line 62 in ce926bb
ignoreChangeEvent
onEditQuery
Happy to contribute/raise a PR for this.
The text was updated successfully, but these errors were encountered:
@krishnan-r thanks for reporting, a PR for this would be fantastic! I might get to it myself later today anyways.
Sorry, something went wrong.
if you could do one PR for the bugfix, and a seperate for the debounce, that would be fantastic
Sure, I'll make the PRs
Successfully merging a pull request may close this issue.
I'm trying to use
<GraphiQL>
as a controlled component, with a global redux store.[email protected]
,onEditVariables
is not triggered on the first render. It works fine in[email protected]
.I noticed that in 1.x, VariableEditor ignores change events till the first
componentDidUpdate
graphiql/packages/graphiql/src/components/VariableEditor.tsx
Line 62 in ce926bb
ignoreChangeEvent
should be initialized to falseonEditVariables
, whereasonEditQuery
seems to be debounced.Happy to contribute/raise a PR for this.
The text was updated successfully, but these errors were encountered: