Frontend First
Does server-side generation make loading states more complex?

Episode 118 · Season 1

Does server-side generation make loading states more complex?

Frontend First

1:05:37

About this episode

Sam and Ryan discuss how loading states, data fetching, and skeleton screens can change the architecture of an SSG application. They also talk about Apollo’s cache and various query re-fetching strategies.

Topics include:

  • 0:00 - Intro
  • 2:35 - Image cropper dampening
  • 4:00 - Learning library abstractions
  • 10:00 - Loading states with SSG
  • 28:00 - Server side cache
  • 38:30 - Tweet of the week
  • 46:00 - Apollo’s cache
  • 58:50 - Stale while revalidate

Links:

More from Frontend First

Ryan talks to Sam about reproducing iOS's new image background treatment for his Open Graph Preview tool, opengraph.ing. They talk about different approaches for generating gradients from images, incl…

48m

Sam and Ryan talk about React 19's useActionState hook. They discuss how adding async functions to a plain React app introduces lots of in-between states that developers must grapple with, and how use…

59m

Sam and Ryan talk about building a useAnimatedText hook that can animate streaming text. They also discuss how React code that uses state changes to approximate events can be simplified, and the benef…

1h 8m

Sam and Ryan talk about how frameworks and infrastructure evolve with each other, using Next.js as a representative example. They discuss how hosting providers like Heroku have always imposed certain…

58m