server-side-rendering

Render React components on the server to generate full HTML for initial load.

Updated Apr 28, 2026
One-click install
npx skills add https://github.com/PMKhai/claude-config --skill server-side-rendering-pmkhai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: server-side-rendering
Source: https://github.com/PMKhai/claude-config/tree/main/skills/server-side-rendering
Command: npx skills add https://github.com/PMKhai/claude-config --skill server-side-rendering-pmkhai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

SSR delivers the full HTML for each page on the server, reducing time-to-content and improving SEO by rendering content before it reaches the client.

Core Features & Use Cases

  • Pre-rendered HTML on demand for faster initial paint and better crawlability.
  • Per-request data fetching and dynamic HTML generation for content-rich pages.
  • Use Case: transform content-heavy pages, product listings, and dashboards into instantly visible, indexable pages.

Quick Start

Set up a Next.js page and use getServerSideProps to fetch data and render it on the server.

Frequently Asked Questions about server-side-rendering

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How does server-side rendering improve web performance and SEO for React components?

Server-side rendering (SSR) delivers fully rendered HTML from the server on initial load, reducing time-to-content for faster page paints and ensuring content is crawlable for SEO before client-side React hydration takes over.

How do I fetch data per request for dynamic pages using Next.js server-side rendering?

You implement Next.js with getServerSideProps to fetch data per request and generate dynamic HTML on the server. This server-side rendering approach ensures content-heavy pages, product listings, and dashboards deliver instantly visible, indexable HTML.

Does server-side rendering work for e-commerce pages and content-heavy dashboards?

Yes, server-side rendering applies directly to e-commerce, content-heavy pages, and dashboards. It delivers pre-rendered HTML on demand and supports per-request data fetching to provide fast first paint and dynamic HTML generation.

What is hydration when using server-side rendering with React?

Hydration is the client-side React process that attaches event listeners and interactivity to the full HTML delivered by server-side rendering. After SSR provides the initial static content, hydration upgrades the page into a fully functional React application.

When should I use server-side rendering instead of client-side rendering?

Use server-side rendering when pages require fast first paint, per-request HTML generation, and improved crawlability for SEO. It is ideal for content-heavy pages, e-commerce, and dashboards requiring immediate visibility and indexing before client-side hydration occurs.