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
audiobook
The Design of Everyday Things
First, businesses discovered quality as a key competitive edge; next came science. Now, Donald A. Norman, …
book
The Jamstack Book
Jamstack = JavaScript, APIs, and Markup. Use established standard technologies to build super-fast static websites without …
book
WebAssembly: The Definitive Guide
WebAssembly: The Definitive Guide is a thorough and accessible introduction to one of the most transformative …
audiobook
Fall in Love with the Problem, Not the Solution
Unicorns-companies that reach a valuation of more than $1 billion-are rare. Uri Levine has built two. …