Have you ever seen a Gatsby Image wrapper (think that's what you'd call it) used to dynamically make the graph ql queries. Gatsby Image is great and all, but when you're using it for multiple images in a component the graphql really can get messy bloating the component.
Would be nice if you could for example:
<ImageWrapper fluid='filename.jpg' /> or <ImageWrapper fixed='filename.jpg' />
With all the graphql static queries internalized in the wrapper component.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Have you ever seen a Gatsby Image wrapper (think that's what you'd call it) used to dynamically make the graph ql queries. Gatsby Image is great and all, but when you're using it for multiple images in a component the graphql really can get messy bloating the component.
Would be nice if you could for example:
<ImageWrapper fluid='filename.jpg' /> or <ImageWrapper fixed='filename.jpg' />
With all the graphql static queries internalized in the wrapper component.