Differences from Regular Gatsby
No page queries
Gatbsy has three ways of fetching data via GraphQL: Page queries, static queries
and the Node API (source plugins). We only use the latter two in A11ystack. All
data for the pages are fetched in GraphQL requests in the createPages API.
Fragments available in Node API
Gatsby extracts fragments from JS files automatically and makes them available in page queries and static queries. We also make them available in the Node API via gatsby-plugin-fragments.
Gatsby images not migrated
We have yet to migrate from gatsby-image to gatsby-plugin-image.
ES modules in node files
The start and build scripts are run via esm which means that import and
export can be used in gatsby-config.js etc.