React Server Components Do They Really Improve Performance? - Nadia Makarevich
summary
Implements the same Next.js app three ways—CSR, SSR, RSC—with Chrome DevTools LCP and network timing, and finds RSC only helps when combined with streaming + suspense and server-side data fetching; static sidebar shrinks 46 KB→100 B but the messages page shows no bundle win. Discovers Next.js/Actions cause a serialized fetch waterfall because actions run serially, breaks parallelism; replacing ad-hoc actions with TanStack Query + SSR hydration cuts initial load to about 1.8 s and fixes spinners and un-cached requests.
AI-written summary · about
chapters (16)
- 0:00Introduction and background
- 3:14What are server components
- 6:24Client rendering baseline
- 8:32Server-side rendering explained
- 12:24SSR with data fetching
- 16:17SSR performance comparison
- 17:44Server components concept
- 19:51Converting to server components
- 21:19Data fetching with server components
- 23:08Streaming with server components
- 25:59Performance impact of server components
- 27:03Real-world server components
- 29:30AI-assisted coding pitfalls
- 32:19Refactoring to TanStack Query
- 34:11Final performance results
- 35:17Q&A and closing thoughts
