Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alextim/gatsby-test


https://github.com/alextim/gatsby-test

Last synced: 5 days ago
JSON representation

Awesome Lists containing this project

README

        


Test

## Error: unknown fragment ...GatsbyImageSharpFluid
`gatsby-node.ts`
```
bannerImage {
childImageSharp {
fluid(maxWidth: 1920) {
...GatsbyImageSharpFluid
}
}
}
```
Solution:
```
bannerImage {
childImageSharp {
fluid(maxWidth: 1920) {
src
srcSet
aspectRatio
sizes
base64
}
}
publicURL
}
```
Source: [Problems with 'gatsby-image' and their workarounds](https://theleakycauldronblog.com/blog/problems-with-gatsby-image-and-their-workarounds)

## State for Search
Source: [stateful gatsby](https://github.com/DynamisDevelopment/stateful-gatsby-starter)