Enhancing your Static Sites with React Server Components
summary
Shows how react server components run at build/CI time inside static sites so components fetch data (GitHub API) and do build-time work (Shiki syntax highlighting) and the generated HTML already contains rendered sponsor cards. Demonstrates a GitHub sponsors component that accepts a username, renders only the first three sponsors (not all ~800), and that enabling this in nextjs config: output export works while still loading JS for client navigation.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 1:11Static sites and limitations
- 2:35Data fetching approaches
- 3:58Route-level data fetching
- 6:45Component-level static data
- 9:33Static analysis limits
- 10:17React Server Components intro
- 11:42Implementing React Server Components in static sites
- 13:26Advantages of RSCs for static sites
- 14:53Enabling RSCs in Next.js
related talks
36mBuilding Static Sites with React
12mExploring the Power of React Server Components
14mHow to use React, webpack and other buzzwords if there is no need
32mThe Universality of Static Sites
21mReact Server Components
14mStatic Site Generators with JavaScript
54mReact Server Components: A New Way to Build Fast and Interactive Web Apps
01h 14mReusable Server Components in React Workshop
