Next.js Rendering Philosophy
Installation
SKILL.md
Next.js Rendering Philosophy
Expert guidance on Next.js rendering model — static/dynamic as a spectrum at component level, PPR, infrastructure implications, and platform portability.
@doc-version: 16.2.6
Core Concepts
Next.js treats static and dynamic rendering as a spectrum at the component level — ไม่ใช่ binary choice ที่ route level:
- Single page = static shell + cached functions + dynamic streaming
- Cached function อยู่ใน dynamic route ได้
- Static page อัปเดตได้โดยไม่ redeploy
นี่คือสิ่งที่ Partial Prerendering, Cache Components (use cache), และ on-demand revalidation enable