Book description
Get the definitive guide on Gatsby, the JavaScript framework for building blazing fast websites and applications. Used by Nike, Costa Coffee, and other companies worldwide, Gatsby is emerging as one of the key technologies in the Jamstack (JavaScript, APIs, and markup) ecosystem. With this comprehensive guide, you'll learn how to architect, build, and deploy Gatsby sites independently or with CMSs, commerce systems, and other data sources.
Author Preston So begins by showing you how to set up a Gatsby site from scratch. From there, you'll learn ways to use Gatsby's declarative rendering and GraphQL API, build complex offline-enabled sites, and continuously deploy Gatsby sites on a variety of platforms, including Gatsby Cloud.
- Discover how Gatsby integrates with many data sources and plug-ins
- Set up, configure, and architect Gatsby sites using Gatsby's CLI, React, JSX, and GraphQL with high performance out of the box
- Build an independent Gatsby site based on Markdown and data- and content-driven Gatsby sites that integrate with CMSs and commerce platforms
- Deploy Gatsby sites with full CI/CD and test coverage on a variety of platforms, including Netlify, Vercel, and Gatsby Cloud
Publisher resources
Table of contents
- Foreword
- Preface
- I. Elementary Gatsby
- 1. Gatsby Fundamentals
- 2. Core Elements of Gatsby
- 3. Adding Features to Gatsby Sites
- II. Data in Gatsby
- 4. GraphQL and the Gatsby Data Layer
- 5. Source Plugins and Sourcing Data
- 6. Programmatic Page Creation
- 7. Assets in Gatsby
- 8. Adding Data-Driven Features to Gatsby Sites
- III. Extending Gatsby
- 9. Gatsby Plugins and Starters
- 10. Gatsby Themes
- IV. Production Gatsby
- 11. Debugging and Testing Gatsby
- 12. Deploying Gatsby
- V. Advanced Gatsby
- 13. Advanced Topics in Gatsby
- 14. Gatsby Internals
- A. The Gatsby CLI
- B. Gatsby Component APIs
-
C. Gatsby Configuration APIs
- Config APIs
-
Node APIs
- createPages
- createPagesStatefully
- createResolvers
- createSchemaCustomization
- onCreateBabelConfig
- onCreateDevServer
- onCreateNode
- onCreatePage
- onCreateWebpackConfig
- onPostBootstrap
- onPostBuild
- onPreBootstrap
- onPreBuild
- onPreExtractQueries
- onPreInit
- pluginOptionsSchema
- preprocessSource
- resolvableExtensions
- setFieldsOnGraphQLNodeType
- sourceNodes
- unstable_onPluginInit
- unstable_shouldOnCreateNode
- Index
Product information
- Title: Gatsby: The Definitive Guide
- Author(s):
- Release date: September 2021
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492087519
You might also like
book
Foundation Gatsby Projects: Create Four Real Production Websites with Gatsby
Enhance your Gatsby skillset by building a series of ready-to-use web sites. With the aid of …
book
Using Gatsby and Netlify CMS: Build Blazing Fast JAMstack Apps Using Gatsby and Netlify CMS
Leverage the powerful new combination of Gatsby and Netlify CMS, a free open source content management …
book
Elevating React Web Development with Gatsby
Learn how to create SEO-friendly, powerful static websites using Gatsby by harnessing the power of React …
article
Why the Power of Technology Rarely Goes to the People
Throughout history, the advantages and costs of technological innovations have been unevenly distributed between the powerful …