Rendering

Server Component boundary

Pages/layouts default to Server Components in App Router. They may perform server-side data reads, but execution timing depends on rendering and caching. Pass safe serializable data to client entries. Source: https://nextjs.org/docs/app/getting-started/server-and-client-components. Staged reference; snippets are illustrative and not complete apps.

Formal Syntax & Structure

nextjs syntaxnextjs
export default function Page() { ... }

Working Example

Example Snippetnextjs
export default function Page() { return <h1>River Books</h1>; }
Next.js Reference