📖 Step 6: Development#450 / 498
CSR
Client-Side Rendering (CSR)
📖One-line summary
A rendering approach where the server sends minimal HTML and JS, and the browser builds the page by running JavaScript.
✨Example
// CSR (Client-Side Rendering (CSR))
서버는 빈 HTML과 JS만 보내고 브라우저가 JavaScript를 실행해 화면을 그리는 렌더링 방식
> ready_
⚡Vibe coding prompt examples
>_
This Next.js page is an admin screen that doesn't need SEO. Render it client-side with 'use client' and fetch data with SWR.
>_
Compare CSR, SSR, and SSG on first-load speed, SEO, and server cost in a table, with recommendations per page type.
>_
Our Vite CSR app doesn't show up in search. Explain the cause and fixes (prerendering, switching to SSR).
Try these prompts in your AI coding assistant!