Read OSS

gatsbyjs/gatsby

5 articles

Prerequisites

01

Gatsby's Architecture: Navigating a 105-Package Monorepo

An orientation guide to Gatsby's massive Lerna monorepo, the CLI delegation pattern, and the two contrasting architectures behind build and develop.

02

Following a `gatsby build` from CLI to HTML: The Bootstrap Pipeline

A step-by-step walkthrough of Gatsby's build command from config loading through schema construction, webpack bundling, and HTML generation.

03

XState-Driven Development: How `gatsby develop` Orchestrates Reactivity

An exploration of the XState hierarchical state machine that orchestrates the gatsby develop command, including process isolation, event handling, and infinite loop protection.

04

From Nodes to Queries: Redux, LMDB, and GraphQL Schema Construction

A deep dive into Gatsby's data layer covering Redux state management, LMDB node storage, GraphQL schema inference, and the query execution pipeline.

05

Extending Gatsby: The Plugin API, Themes, and Deployment Adapters

The complete guide to Gatsby's extensibility: plugin resolution, theme composition, source/transformer patterns, page modes, and the adapter deployment abstraction.