Company
Date Published
Author
Daniel Phiri
Word count
1336
Language
-
Hacker News points
None

Summary

Tanmai Gopal's talk on making static React sites dynamic at JAMStack SF inspired a project using Gridsome, a Vue-powered static site generator, to build a site that dynamically updates content via GraphQL and Netlify. The process involved installing Gridsome, deploying a Hasura GraphQL server, and creating a books table to serve as a data source. By integrating GraphQL queries within Gridsome, the site displayed book data, which could be updated locally with changes reflected only after a site rebuild when deployed. To automate this process, Hasura Event Triggers were set up to initiate a Netlify build upon data changes, ensuring the site content stayed current without manual intervention. The project demonstrated how combining these tools can achieve a dynamic-like experience on a static site, with the aid of event-driven updates and automated builds.