All quizzes
Free quiz · 39 questions in the bank

Gatsby quiz

Test your Gatsby knowledge with a free interactive quiz — 39 questions with answers and explanations. No signup needed to play.

Question 1/12Score 0

Which lifecycle API in gatsby-node.js is commonly used to add a computed field (like a slug) to a node?

In this round
  1. Which lifecycle API in gatsby-node.js is commonly used to add a computed field (like a slug) to a node?
  2. What is Gatsby?
  3. What does the `createPages` API in gatsby-node.js require you to call for each generated page?
  4. What is SSG (Static Site Generation) in the context of Gatsby?
  5. Where do pages placed under `src/pages/` get their routes from?
  6. What is the `StaticImage` component used for?
  7. What hook is used to query data inside a non-page component, like a shared Header?
  8. What is `gatsby develop` used for?
  9. What is Gatsby's GraphQL data layer used for?
  10. What is the purpose of `gatsby-plugin-image`?
  11. What does a Gatsby "transformer plugin" do?
  12. When a page query result is injected into a Gatsby page component, why is there typically no loading spinner needed for that data?
Gaps to close?
Read the curated Gatsby notes — core concepts, patterns, interview prep.
Gatsby notes

More quizzes

.NETAccessibilityAgile MethodologyAlertmanagerAlgorithmsAndroid