

Teaching NextJS To Primeagen | Theo - t3․gg
Jul 20, 2025
Primeagen, a talented software engineer and streamer known for his backend expertise and love for Vim, joins the conversation with Theo. They dive into the exciting world of Next.js, discussing everything from server-side rendering to the latest tech trends like the 4090 Ti graphics card. Expect engaging banter on debugging, complex coding challenges in JavaScript, and the use of Web Workers. The duo also touches on advanced data handling with Rust and shares their experiences with collaborative coding and community engagement, making for a lively and informative chat.
AI Snips
Chapters
Transcript
Episode notes
Next.js Is A Server-First React Framework
- Next.js is a backend framework that serves React applications and generates HTML on the server for initial loads.
- Server-rendered HTML enables pages to display content even with client JavaScript disabled, improving UX and SEO.
Avoid getServerSideProps As Default
- Avoid overusing getServerSideProps for most pages because it couples data-fetching to the page and has rough edges.
- Prefer safer, component-level fetching strategies when possible to keep data boundaries clear and maintainable.
Dev Mode Double Renders Enforce Robustness
- React's dev-mode double renders are intentional to simulate interrupted renders and enforce cleanup correctness.
- Write effects with proper cleanup so interrupted or concurrent renders don't cause resource leaks or race conditions.