Frontend First
What problems do React Server Components solve?

Episode 165 · Season 1

What problems do React Server Components solve?

Frontend First

51:05

About this episode

Sam and Ryan share their learnings from working with Server Components in earnest over the past week. They talk about how Server Components can simplify client components by passing them props, why it makes sense for a component that can run everywhere to be a Server Component by default, whether RSC is causing unnecessary churn in the ecosystem, and how to think about choosing Server Components vs. client components for a given task.

Topics include:

  • 0:00 - Intro
  • 0:48 - Lessons learned from building a D3 chart as a React Server Component
  • 22:04 - Are Server Components causing unnecessary churn in the JavaScript ecosystem?
  • 32:14 - Do Server Components replace Client Components?
  • 40:13 - Ryan’s thoughts on rewriting some client-side data fetching code with Server Components

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