Development

Learn Gatsby

Intermediate
3h

By: Shaun Pelling

Learn Gatsby

Overview

Gatsby is a modern web framework for React that enables developers to build fast, secure, and powerful websites and applications. It's a static site generator at its core, but it's also much more than that. Gatsby leverages React's component architecture, GraphQL for data management, and Webpack for bundling. It's optimized for speed with code splitting, image optimization, inlined critical styles, lazy-loading, and more.

Learning Gatsby involves understanding how to use its rich set of APIs and starters to bootstrap projects, and how to source data from virtually anywhere: Markdown files, a headless CMS, or REST APIs. The framework's plugin ecosystem allows for extending functionality and integrating with various platforms and services with ease. Through Gatsby, developers can create static pages that are dynamic in nature, offering a blend of the benefits of static site generation and client-side rendering.

Skills Learned

  • Define static site generators
  • Utilize Gatsby starter sites
  • Create pages and routing in Gatsby
  • Implement a navbar with links
  • Configure a Gatsby layout file
  • Style Gatsby components
  • Manage static files in Gatsby
  • Understand Gatsby's content mesh
  • Use site metadata and page queries
  • Employ useStaticQuery for data fetching
  • Integrate Gatsby source plugins
  • Generate pages using Gatsby data

Modules

1. Gatsby Basics

1.1 What Is a Static Site Generator?11 min
1.2 Starter Sites8 min
1.3 Pages & Routes6 min
1.4 Navbar & Links6 min
1.5 Layout File7 min
1.6 Styling Components12 min
1.7 Static Files4 min

2. GraphQL & Fetching Data

2.1 The Content Mesh7 min
2.2 Site Metadata & Page Queries8 min
2.3 Static Queries (useStaticQuery)5 min
2.4 Gatsby Source Plugins9 min
2.5 Markdown & Transformer Plugins - Link to MD Guide8 min
2.6 Fetching & Listing Data8 min
2.7 Ordering-Sorting Queries5 min
2.8 Multiple Queries6 min

3. Images & Templates

3.1 Optimized Images10 min
3.2 Featured Images8 min
3.3 Template Components7 min
3.4 Generating Pages10 min
3.5 Query Variables9 min

4. Deploying the Website

4.1 Building & Deploying2 min
4.2 Continuous Deployment5 min

Ready to Elevate Your Team's Learning?

Talk with our sales team to see how StormWind can transform the way your organization trains and grows.

CONTACT SALES