-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
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
[V2] Component using <StaticQuery> renders <div>Loading (StaticQuery)</div> #6032
Comments
Loading data for StaticQuerys can occasionally be buggy right now. There's a planned refactor of this system that'll make it much more reliable. Sorry for the roughness and thanks for the bug report! |
after deleting |
I can confirm that changing |
@KyleAMathews Hello. I'm still facing this issue. For some reason, even if I inline the queries, I end up with "Loading (StaticQuery)". Moreover it only happens with |
Trying to add component from gatsby-image loading it in with a StaticQuery doesn't render the component. Also, after adding the StaticQuery and Img component to my component, everything in the page looks blurry.
Screenshot
Tried many different approaches: not using query fragments, changing my gatsby-config for how it finds the files, and they all gave me the same output.
Component (excluded JSS to keep it short)
gatsby-config
The text was updated successfully, but these errors were encountered: