Skip to content

fix(gatsby-graphiql-explorer): error when refresh button is rendered#39366

Open
mahtd wants to merge 3 commits intogatsbyjs:masterfrom
mahtd:fix-graphiql-refresh-button
Open

fix(gatsby-graphiql-explorer): error when refresh button is rendered#39366
mahtd wants to merge 3 commits intogatsbyjs:masterfrom
mahtd:fix-graphiql-refresh-button

Conversation

@mahtd
Copy link
Copy Markdown

@mahtd mahtd commented Sep 8, 2025

Description

The refresh button was rendered without context, causing the graphiql explorer to crash into a white screen. graphiql@3.0.9 added a new prop additionalComponent to address this error and render things with context.

https://github.com/graphql/graphiql/releases/tag/graphiql@3.0.9
https://github.com/graphql/graphiql/releases/tag/%40graphiql%2Freact@0.20.2

This PR upgrades graphiql packages and uses the additionalComponent prop to fix the error.

Documentation

Bug fix, no documentation needed

Tests

This package doesn't have any tests. I tested by using yarn link in my project

Related Issues

Fixes #38634

@gatsbot gatsbot Bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Sep 8, 2025
pieh
pieh previously approved these changes Oct 16, 2025
@serhalp serhalp self-assigned this Oct 16, 2025
@serhalp serhalp added type: bug An issue or pull request relating to a bug in Gatsby status: accepted and removed status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer labels Oct 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: accepted type: bug An issue or pull request relating to a bug in Gatsby

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GraphiQL White Screen of Death on Gatsby V5.11.0

3 participants