#QuickCuppa  - Thoughts on GatsbyJS, the React-based SSG framework - podcast episode cover

#QuickCuppa - Thoughts on GatsbyJS, the React-based SSG framework

Jul 15, 202032 minSeason 1Ep. 5
--:--
--:--
Download Metacast podcast app
Listen to this episode in Metacast mobile app
Don't just listen to podcasts. Learn from them with transcripts, summaries, and chapters for every episode. Skim, search, and bookmark insights. Learn more

Episode description

UIT 5: In this week's episode I share my thoughts on the use of GatsbyJS and whether I feel it's a viable static site generator framework.

What are static sites?
Static sites have been around for a very long time, and realistically are the original website: simply HTML, CSS, and JavaScript. They are not rendered during runtime; there is no server-side code, no database, etc.

What’s a static site generator?
It’s a tool that generates static sites whenever you decide to run a build on your code base.

Contrast this to typical javascript frameworks and libraries, these usually generate HTML content on the client side during runtime.
How is this different from server-side rendering? The primary difference is that there is no server-side code. So, unlike a framework such as Django, Gatsby does not render anything on the server when a request is made. Everything is generated at the build time of the application.
A few benefits of a static site are: speed, the simplest infrastructure, search engine optimization, and security.

GatsbyJS
“Gatsby is a free and open source framework based on React that helps developers build blazing fast websites and apps”

  • Built on top of ReactJS
  • GraphQL for data
  • Uses any source for content; I use MDX (JSX in Markdown)

Pros

  • Love React, writing components is a joy.
  • Because it’s built on ReactJS has access to a huge ecosystem of packages.
  • ...

Full show notes available at https://uitherapy.fm/episodes/5/

Links

Support the show

For the best experience, listen in Metacast app for iOS or Android