vercel-react-best-practices

Apply React/Next.js performance best practices to optimize app speed.

1|1|Updated May 15, 2025
One-click install
npx skills add https://github.com/raphaelandrews/fsx --skill vercel-react-best-practices-raphaelandrews
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/raphaelandrews/fsx/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/raphaelandrews/fsx --skill vercel-react-best-practices-raphaelandrews

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide consolidates React and Next.js performance guidelines to help teams consistently build fast, scalable apps and avoid common anti-patterns.

Core Features & Use Cases

  • Structured best practices: rules cover eliminating waterfalls, bundle optimization, server/client patterns, and rendering performance for robust performance improvements.
  • Guided refactoring: provides actionable examples to accelerate code reviews, migrations, and optimizations across large codebases.
  • Real-world scenarios: includes Next.js route/server actions guidance, React server components patterns, and client-side optimizations to reduce TTI and CLS.

Quick Start

Analyze a codebase to apply the 69 rules across 8 categories and generate targeted refactor plans.

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 server and client components?

React and Next.js performance optimization involves applying structured rules for server/client component patterns, parallel data fetching, and rendering improvements to reduce load times and minimize Cumulative Layout Shift across your application.

What is the best way to eliminate data fetching waterfalls in Next.js applications?

Eliminating data fetching waterfalls in Next.js applications requires implementing parallel data fetching patterns and server-side data strategies, ensuring concurrent requests are structured to prevent sequential blocking and improve overall app speed.

How do I reduce bundle size and improve rendering speed in a React codebase?

To reduce bundle size and improve rendering speed in a React codebase, apply targeted bundle optimization rules and rendering performance patterns, generating a refactor plan to identify and remove common anti-patterns across large projects.

Can I use these React server components best practices for large codebase migrations?

Yes, these React server components best practices support large codebase migrations by providing actionable refactoring examples and validating metadata presence to accelerate code reviews and enforce consistent performance patterns across Next.js projects.

When should I use Next.js server actions and route optimizations to improve app speed?

Use Next.js server actions and route optimizations to improve app speed when you need to enforce server and client boundaries, leverage parallel data fetching, and apply bundle optimization techniques to reduce Time to Interactive metrics.