1. The App Router Paradigm & RSC
The Modern Web Engine
Next.js revolutionized React by introducing the App Router. Unlike the legacy Pages Router, the App Router is built on React Server Components (RSC), allowing you to render components on the server and send zero JavaScript to the client for static parts of your page.
🚀 Server Components by Default
In Next.js, every component is a Server Component unless you explicitly add the 'use client' directive. This is a massive shift in thinking.
Smaller client-side bundles. Your users don't download JS for code that only runs on the server.
Fetch data directly in your component using async/await. No more useEffect boilerplate.
Keep sensitive logic and API keys on the server. They never reach the browser.
Knowledge Check
Ready to test your understanding of 1. The App Router Paradigm & RSC?