react-best-practices

Apply React performance rules to reduce re-renders in client-side apps.

218|11|Updated Feb 22, 2026
One-click install
npx skills add https://github.com/poteto/noodle --skill react-best-practices-poteto
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/poteto/noodle/tree/main/.agents/skills/react-best-practices
Command: npx skills add https://github.com/poteto/noodle --skill react-best-practices-poteto

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

React performance optimization guidelines. Use when writing, reviewing, or refactoring React components, hooks, effects, data fetching, or bundle optimization. Includes useEffect best practices — when NOT to use effects and better alternatives.

Core Features & Use Cases

Contains 47 rules across 8 categories, prioritized by impact. Adapted from Vercel Engineering's guidelines, filtered for client-only React + Vite (no Next.js / SSR).

Quick Start

Apply these guidelines to optimize performance in client-side React code.

Frequently Asked Questions about react-best-practices

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

FAQPage Schema
How do I reduce unnecessary re-renders in my React components?

Reduce React re-renders by applying rules-based best practices that minimize rendering waste, such as optimizing component composition and managing state updates efficiently. This Skill codifies 47 rules across 8 categories to guide refactoring.

When should I not use useEffect in React?

Avoid using useEffect when better alternatives exist for specific logic flows. This Skill provides concrete guidance identifying when not to use effects and recommends better data fetching or state management alternatives.

Are these React performance best practices applicable to Next.js or SSR apps?

No, these React performance guidelines are explicitly filtered for client-only React + Vite applications. They do not cover Next.js or Server-Side Rendering (SSR) optimization scenarios.

What's the best way to optimize React hooks for performance?

Optimize React hooks by following codified rules that minimize unnecessary effects and re-renders. This Skill provides a rules-based approach to guide writing, reviewing, and refactoring hooks for maximum client-side rendering efficiency.

How do I optimize bundle size in a client-side React app?

Optimize React bundle size by applying best practices adapted from Vercel Engineering's guidelines. This Skill includes specific rules for bundle optimization within client-only React applications to reduce overall rendering waste.