vercel-react-best-practices

Audit React code and apply performance best practices to reduce re-renders and bundle size.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/aidanaden/sg-food-guide --skill vercel-react-best-practices-aidanaden
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/aidanaden/sg-food-guide/tree/main/.agents/skills/react-best-practices
Command: npx skills add https://github.com/aidanaden/sg-food-guide --skill vercel-react-best-practices-aidanaden

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The skill consolidates React performance guidance into framework-agnostic patterns to help teams write faster, more reliable components and avoid common rendering bottlenecks.

Core Features & Use Cases

  • A curated catalog of rules across eight priority categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns) with practical examples.
  • Guidance for writing, reviewing, or refactoring React code to improve performance, reduce bundle size, and ensure predictable rendering behavior.
  • Real-world scenarios covering component design, data fetching, caching, and UI responsiveness.

Quick Start

Audit a React project and generate an actionable optimization plan across components, data flow, and rendering behavior.

Frequently Asked Questions about vercel-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 React?

To reduce unnecessary re-renders in React, apply memoization patterns and optimized component design rules to prevent wasted render cycles. This skill provides a catalog of concrete refactoring guidance to optimize rendering behavior and ensure predictable UI updates.

What are the best practices for optimizing React bundle size?

Optimizing React bundle size requires applying framework-agnostic patterns to eliminate code waterfalls and streamline imports. This skill catalogs specific bundle size optimization rules with practical examples to help lower your final JavaScript payload.

How do I audit a React project for performance bottlenecks?

Auditing React performance bottlenecks involves evaluating components, data flow, and rendering behavior across eight priority categories. This skill generates an actionable optimization plan by reviewing your code against a curated catalog of performance rules.

Do these React performance patterns work with any framework?

Yes, these React performance patterns are framework-agnostic and work across different React setups. The guidance focuses on core rendering, data fetching, and bundling rules that apply universally to improve client-side performance and reliability.

When should I use memoization in React components?

Memoization in React components should be used when re-render optimization is necessary to prevent expensive recalculations and wasted render cycles. This skill provides concrete rules and advanced patterns for correctly applying memoization alongside other rendering performance strategies.