Using Gatsby for a web app with dynamic content — A case study
This case study explores the use of Gatsby, a static site generator for React, to build out a web app with dynamic content. The author provides an overview of what a static site is and how it differs from a dynamic one, as well as explaining what Gatsby is and its various features. They then outline an action plan on how to build a website with dynamic content using Gatsby, including adding external data into Gatsby's internal data store, generating a static listing page with the external data, dynamically creating static pages based on data, and making sure that the listing page is paginated. The author also discusses caveats and current solutions for building such an app, as well as providing a step-by-step tutorial where they build out a product listing app with pagination and programmatic page creation from an external data source. Finally, the author shares their final thoughts on using Gatsby for this type of app.
Company
Hasura
Date published
April 4, 2018
Author(s)
Hasura
Word count
3234
Hacker News points
None found.
Language
English