Next.jsReact
Server vs Client Components: A Simple Mental Model
Bondon Datta Oct 25, 2026 5 min read
In the Next.js App Router every component is a Server Component by default. It runs on the server, can fetch data directly and sends zero JavaScript to the browser.
Add 'use client' only when a component needs interactivity: state, effects, event handlers or browser APIs like localStorage.
A good pattern is to keep pages and data fetching on the server and push small interactive pieces, like a form or a theme toggle, down into client components.
Following this model keeps bundles small, pages fast and your code easier to reason about.