react-19

Guides React 19 refactoring by removing manual memoization and prioritizing server components.

1|Updated Jan 18, 2026
One-click install
npx skills add https://github.com/valec3/AGENTS.md --skill react-19-valec3
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-19
Source: https://github.com/valec3/AGENTS.md/tree/main/REFERENCES/GentlemanProgramming/skill/react-19
Command: npx skills add https://github.com/valec3/AGENTS.md --skill react-19-valec3

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the need to manually optimize React components by memoization, guiding developers to rely on the React Compiler and proper component architecture.

Core Features & Use Cases

  • Server Components First: default to server components with client components only when needed.
  • Correct Imports & Hooks Usage: enforces proper import patterns and hook usage to avoid common pitfalls.
  • Clear Memoization Guidance: demonstrates removing useMemo/useCallback and provides practical examples from real-world components.

Quick Start

Use the react-19 skill to refactor a component by removing manual memoization and applying server components first, enabling client components only when needed.

Frequently Asked Questions about react-19

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

FAQPage Schema
How do I remove manual memoization in React 19 components?

Remove manual memoization in React 19 by relying on the React Compiler and proper component architecture. This Skill guides you to eliminate useMemo and useCallback hooks while enforcing correct server-vs-client component usage.

When do I need to use client components instead of server components in React?

You need client components in React only when enabling client features like interactivity. This Skill provides explicit guidance on defaulting to server components first and transitioning to client components only when necessary.

What is the best way to refactor an existing React component for React 19 patterns?

The best way to refactor a component for React 19 patterns is by removing manual memoization and applying a server components first architecture. This Skill guides the process by enforcing correct imports and hooks usage.

Does React 19 require useMemo and useCallback for performance optimization?

React 19 does not require useMemo and useCallback for performance optimization when using the React Compiler. This Skill demonstrates removing manual memoization and provides practical examples from real-world components.

Why should I enforce correct import patterns in modern React projects?

Enforcing correct import patterns in modern React projects avoids common pitfalls when using React 19 hooks and separating server versus client components. This Skill ensures proper import usage to support automatic optimization.