vercel-react-best-practices

Apply performance optimization patterns to React and Next.js code.

Updated Mar 1, 2026
One-click install
npx skills add https://github.com/sao-coding/sao-blog --skill vercel-react-best-practices-sao-coding
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/sao-coding/sao-blog/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/sao-coding/sao-blog --skill vercel-react-best-practices-sao-coding

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide consolidates proven performance best practices for React and Next.js, enabling teams to write faster components, optimize data flows, and refactor code with confidence.

Core Features & Use Cases

  • 57 rules across 8 categories to guide automated refactoring and code generation.
  • Prioritized guidance to reduce waterfalls, bundle size, and server response times during React/Next.js work.
  • Practical use cases for writing components, reviewing code, and optimizing builds.

Quick Start

Review a React/Next.js module and apply the top-priority performance rules to reduce waterfalls, optimize bundle size, and speed up server responses.

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 for faster server responses?

Optimizing React and Next.js performance involves applying proven patterns like reducing data waterfalls, enabling parallel data fetching, and minimizing serialization. This approach targets bundle size and server response times during component writing and code refactoring.

What are the best practices for reducing waterfalls in Next.js data fetching?

Reducing waterfalls in Next.js data fetching requires enabling parallel data fetching patterns. By prioritizing parallel over sequential requests, you minimize server response times and improve page load performance during component design.

How do I refactor React components to improve bundle size optimization?

Refactoring React components for bundle optimization requires applying specific performance rules. By minimizing serialization and reviewing component design against prioritized guidance, you can safely reduce the final bundle size.

Do I need to authenticate server actions when optimizing Next.js applications?

Authenticating server actions is required when optimizing Next.js applications. Enforcing safe patterns during page data fetching and server actions ensures secure and performant code refactoring.

What is the best way to review React code for performance bottlenecks?

The best way to review React code for performance bottlenecks is applying a comprehensive set of prioritized performance rules. This covers component design, page data fetching, and bundle optimization to identify and resolve waterfalls.