react

Compile modern React patterns for server and client components.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/darantrute/_virgin-12112025 --skill react-darantrute
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react
Source: https://github.com/darantrute/_virgin-12112025/tree/main/.claude/skills/react
Command: npx skills add https://github.com/darantrute/_virgin-12112025 --skill react-darantrute

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill compiles modern React patterns, including server components, streaming UI, and data fetching strategies, to help you write robust, scalable front-end code.

Core Features & Use Cases

  • Server Components by default for performance
  • Client components for interactivity
  • Data fetching, Suspense, and streaming patterns

Quick Start

Use the React skill to choose patterns, structure components, and apply best practices in your app.

Frequently Asked Questions about react

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

FAQPage Schema
What are the best patterns for building React applications with server and client components?

Server components optimize performance by rendering on the server, while client components handle interactivity. Modern React patterns use server components by default for data fetching and static content, reserving client components for interactive features, event handlers, and state management.

How do I implement data fetching and Suspense in React?

Data fetching in React leverages Suspense to manage loading states. Define async operations in server components, use Suspense boundaries to wrap components awaiting data, and provide fallback UI. This pattern enables streaming and progressive rendering for better performance.

When should I use streaming UI patterns in React?

Streaming UI patterns deliver content progressively instead of waiting for the entire page to render. Use streaming when you have slow or variable-latency data sources, multiple independent components, or large payloads. This improves perceived performance and Time to First Byte.

What are common pitfalls when integrating server and client components?

Common pitfalls include passing non-serializable objects from server to client components, using browser APIs in server components, and incorrect Suspense boundary placement. Following React's component boundaries and serialization rules prevents integration failures.

How do I structure a React app for scalability with modern patterns?

Structure scalable React apps by using server components for data fetching and layout, organizing client components by feature, implementing proper error boundaries, and applying Suspense strategically. This separation improves bundle size, maintainability, and initial load performance.

Do React server and client components work with existing state management tools?

Client components integrate seamlessly with state management libraries. Server components handle data fetching and don't use traditional state management. Combine server-side data passing with client-side state for hybrid architectures that maximize performance.