How Gatsby works
·Jul 3, 2021·
1 min read
Play this article
Gatsby is static site generator. it has three phases
- Collecting data sources
In this step it will collect the data from sources here the sources are
XML files or
Text files or
Wordpress or anything.
Once data is collected then we can access it from source code with the help of graphql. Here we cannot mutate the existing data
Once we are done with development we can build the app and we can host that build files in any static web host sites like Amazon S3, Netlify, Github pages, now.sh and many more...