React

Guide React 19 UI development with component architecture and state boundaries.

1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/marcoamu/openclaw-workspace --skill react-marcoamu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: React
Source: https://github.com/marcoamu/openclaw-workspace/tree/main/skills/react
Command: npx skills add https://github.com/marcoamu/openclaw-workspace --skill react-marcoamu

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React-based UI development benefits from a component-driven architecture, but teams often struggle with consistency, state boundaries, and performance at scale. This guide outlines patterns, rules, and best practices to help engineers build maintainable, scalable interfaces.

Core Features & Use Cases

  • Component-driven architecture with hooks and state management (Zustand, TanStack Query) for predictable UI.
  • Server Components and React 19 patterns to optimize rendering, data loading, and developer experience.
  • Architecture decisions, code quality rules, and common traps to avoid in production projects.

Quick Start

Create a new React project and scaffold a minimal component-driven UI to observe React patterns in action.

Frequently Asked Questions about React

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

FAQPage Schema
What's the best way to structure React state boundaries in a scalable app?

Separating server and client state in React ensures predictable UI and maintainability. Use TanStack Query for server state and Zustand for client state to enforce clear boundaries and optimize rendering across SPA and SSR deployments.

How do I start building a React 19 component-driven UI?

To start building a React 19 component-driven UI, scaffold a minimal project observing standard patterns. This guide directs end-to-end development by detailing component architecture, naming rules, and production-ready practices with documentation and tests.

Does this guide support React Server Components with Next.js?

Yes, this guide fully supports React Server Components with Next.js. It outlines specific React 19 patterns to optimize rendering, data loading, and developer experience across SPA, SSR, and hybrid deployments.

How do React Server Components improve data loading performance?

React Server Components improve data loading performance by optimizing rendering strategies on the server. This reduces client-side JavaScript overhead and enforces explicit separation of server and client state for faster hybrid deployments.

Can I use Zustand and TanStack Query together for state management?

Yes, you can use Zustand and TanStack Query together for state management. This guide enforces using TanStack Query for server state and Zustand for client state to maintain clear architecture and predictable UI behavior.

What are common performance traps to avoid in production React apps?

Common performance traps in production React apps include poor state boundaries and inconsistent component architecture. This guide outlines specific rules and best practices to avoid these traps and ensure scalable, maintainable interfaces.