Skip to content

_Index

In this tutorial, you will learn about Gatsby. We cover key concepts, practical examples, and best practices to help you master this topic.

Learn Gatsby step by step — Graphql data layer, source plugins, image optimization, and building fast static sites with React and the Jamstack architecture.

In this complete Gatsby guide, you'll explore the React-based static site generator with a powerful GraphQL data layer. You'll start with installation and pages, then progress through routing, linking, layout components, gatsby-config, gatsby-node, GraphQL queries, page queries, static queries, source plugins, transformer plugins, gatsby-image, gatsby-plugin-image, markdown pages, MDX, Contentful CMS, WordPress source, filesystem routes, creating pages programmatically, pagination, themes, PWA and offline support, deployment, and a final project. Each lesson includes code examples, common mistakes, practice questions, and a mini project.

Back to Home

Published Topics

Gatsby Introduction and Installation — React Static Site Generator

Learn Gatsby: understand the React-based static site generator, install it, create a project, and explore the file structure.

✓ Live

Gatsby Pages and Routing — File-Based Routing in Gatsby

Learn how Gatsby creates routes from page files, how to structure pages, and how to create dynamic pages programmatically.

✓ Live

Gatsby Link Component and Navigation — Client-Side Routing

Learn Gatsby's Link component for client-side navigation, prefetching, active link styling, and navigation patterns.

✓ Live

Gatsby Config and Plugins — Extending Gatsby Functionality

Learn Gatsby configuration, plugin ecosystem, installing and configuring plugins for data sourcing, transformations, and optimizations.

✓ Live

Gatsby Styling — CSS Modules, Global CSS, and CSS-in-JS

Learn how to style Gatsby sites with CSS Modules, global stylesheets, CSS-in-JS libraries like styled-components, and Tailwind CSS.

✓ Live

Gatsby Static Assets and Images — File Handling in Gatsby

Learn how to handle static assets, images, fonts, and other files in Gatsby projects for optimal performance.

✓ Live

Gatsby Image Plugin — Optimized Images with gatsby-plugin-image

Learn gatsby-plugin-image for optimized images with lazy loading, responsive sizes, AVIF/WebP formats, and blurred placeholders.

✓ Live

Gatsby GraphQL Data Layer — Querying Data in Gatsby

Learn the Gatsby GraphQL data layer: how data is collected from sources, the GraphQL schema, and interactive querying with GraphiQL.

✓ Live

Gatsby useStaticQuery Hook — Data Fetching in Any Component

Learn Gatsby's useStaticQuery hook to fetch GraphQL data in any component without a page-level query, enabling reusable data-driven components.

✓ Live

Gatsby Page Queries — Data Fetching in Page Components

Learn Gatsby page queries for fetching data in page components with GraphQL variables, enabling dynamic page content from files and CMS.

✓ Live

Gatsby Source Plugins — Pulling Data from Files and CMS

Learn Gatsby source plugins for pulling data from filesystems, headless CMS platforms, databases, and external APIs into the GraphQL layer.

✓ Live

Gatsby Transformer Plugins — Converting Raw Data to Usable Formats

Learn Gatsby transformer plugins for converting raw data nodes: Markdown to HTML, YAML to objects, and images to optimized formats.

✓ Live

Creating Pages Programmatically in Gatsby — Dynamic Page Generation

Learn how to create pages programmatically in Gatsby using gatsby-node.js, enabling dynamic pages from Markdown, CMS, and API data.

✓ Live

Gatsby Template Components — Reusable Page Templates for Dynamic Pages

Learn Gatsby template components for programmatically created pages, including data queries, layout, and reusable patterns.

✓ Live

Building a Blog From Markdown in Gatsby — Complete Guide

Learn how to build a complete blog in Gatsby using Markdown files, create pages, add tags, and implement pagination.

✓ Live

Gatsby File System Route API — Simplified Page Creation

Learn the Gatsby File System Route API for creating pages directly from file names and data, without manual gatsby-node.js configuration.

✓ Live

Creating Pages From CMS Data — Contentful, WordPress and More

Learn how to create pages from headless CMS data in Gatsby using Contentful, WordPress, Strapi, and other CMS source plugins.

✓ Live

Gatsby SEO and Meta Tags — Search Engine Optimization with React Helmet

Learn how to optimize Gatsby sites for search engines using gatsby-plugin-react-helmet, meta tags, Open Graph, and structured data.

✓ Live

Gatsby Sitemap and RSS — Search Engine Discovery and Syndication

Learn how to generate XML sitemaps and RSS feeds in Gatsby for search engine discovery and content syndication.

✓ Live

Gatsby PWA — Progressive Web App and Offline Support

Learn how to turn your Gatsby site into a Progressive Web App with service workers, manifest, offline support, and install prompts.

✓ Live

Gatsby SSR and DSG — Server-Side Rendering and Deferred Static Generation

Learn Gatsby Server-Side Rendering (SSR) and Deferred Static Generation (DSG) for dynamic content and faster builds.

✓ Live

Gatsby Image Optimization — Advanced Techniques and Performance

Learn advanced image optimization in Gatsby: art direction, remote images, CDN integration, and performance auditing.

✓ Live

Gatsby Environment Variables — Managing Configuration Across Environments

Learn how to use environment variables in Gatsby for API keys, configuration, and environment-specific settings.

✓ Live

Gatsby Deployment — Deploying to Production Hosting

Learn how to deploy Gatsby sites to Netlify, Vercel, Cloudflare Pages, and Gatsby Cloud with build optimization and CI/CD.

✓ Live

Gatsby Mini Project — Build a Complete Gatsby Site

Build a complete Gatsby site from scratch: a portfolio blog with Markdown, CMS content, image optimization, SEO, and PWA features.

✓ Live

All 25 topics in _Index are published.