One split rule
Keep pages and layouts as Server Components by default. Make a Client Component only when you need clicks, typing, state, effects, or browser APIs like window and localStorage.
This keeps less JavaScript on the judge phone. It also keeps server-only code away from the browser.
Default is server
In the App Router, layouts and pages are Server Components unless you mark them otherwise. So app/page.tsx and app/dashboard/page.tsx can render UI without adding 'use client'.
Server Components are good for reading files, calling a database later, and preparing data before the page reaches the browser. You will use that more in the next lesson.