vercel-react-best-practices

Optimize React and Next.js applications with 57 performance rules across 8 categories.

1|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/salafidurus/salafi-audios --skill vercel-react-best-practices-salafidurus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/salafidurus/salafi-audios/tree/main/apps/web/.opencode/skills/vercel-react-best-practices
Command: npx skills add https://github.com/salafidurus/salafi-audios --skill vercel-react-best-practices-salafidurus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses common performance bottlenecks in React and Next.js applications, ensuring faster load times, smoother user experiences, and more efficient development workflows.

Core Features & Use Cases

  • Performance Optimization: Provides 57 rules across 8 categories to improve application speed.
  • Code Refactoring Guidance: Offers detailed examples for eliminating waterfalls, optimizing bundle size, and enhancing server/client-side rendering.
  • Use Case: When refactoring a Next.js page, use this Skill to identify and fix issues like unnecessary re-renders, large bundle sizes, or server-side waterfalls, leading to a significantly faster user experience.

Quick Start

Apply the vercel-react-best-practices skill to review the current React component for performance optimizations.

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 optimize React and Next.js performance during code refactoring?

To optimize React and Next.js performance, apply a comprehensive set of 57 rules covering bundle size reduction, server-side rendering, and eliminating data fetching waterfalls. This guidance targets unnecessary re-renders and large bundles to significantly speed up load times.

What causes unnecessary re-renders in React and how do I fix them?

Unnecessary re-renders in React are caused by inefficient component updates or data fetching patterns. Fix them by applying rendering and JavaScript performance optimization patterns that eliminate waterfalls and enhance client-side data fetching efficiency.

What's the best way to reduce bundle size in a Next.js application?

The best way to reduce bundle size in a Next.js application is to follow targeted code refactoring guidelines for performance optimization. This involves applying specific rules for bundle size reduction alongside server-side performance enhancements.

Does this React optimization approach work for both client-side data fetching and server-side rendering?

Yes, this React optimization approach works for both client-side data fetching and server-side rendering. It provides comprehensive guidelines across 8 categories, including server-side performance, client-side data fetching, and rendering performance improvements.

When do I need performance optimization for my React components?

You need performance optimization for your React components when experiencing slow application speed, large bundle sizes, or server-side waterfalls. Applying these best practices during refactoring identifies and fixes bottlenecks for a smoother user experience.