vercel-react-best-practices

Apply React and Next.js performance patterns to optimize codebases.

Updated Dec 19, 2025
One-click install
npx skills add https://github.com/juanjaragavi/topfinanzas-us-next --skill vercel-react-best-practices-juanjaragavi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/juanjaragavi/topfinanzas-us-next/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/juanjaragavi/topfinanzas-us-next --skill vercel-react-best-practices-juanjaragavi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js performance often degrade due to scattered best practices. This skill consolidates proven patterns to reduce waterfalls, trim bundle sizes, improve SSR/CSR interactions, and ensure safe server/client boundaries.

Core Features & Use Cases

  • 57 rules across 8 categories covering eliminating waterfalls, bundle optimization, server-side performance, client data fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns.
  • Real-world use: when writing, reviewing, or refactoring React/Next.js code to achieve reliable performance gains during development and maintenance.
  • Use case: applying patterns during code reviews to avoid regressions and to guide automated refactoring or code generation.

Quick Start

Apply the guidelines to a current React/Next.js codebase to identify and implement the performance improvements described.

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 data fetching waterfalls in Next.js applications?

To reduce data fetching waterfalls in Next.js, apply parallel data fetching patterns across data layers. This minimizes sequential requests, improves time-to-interactive, and ensures safe server/client boundaries for optimal performance.

What's the best way to optimize React bundle size during code reviews?

The best way to optimize React bundle size is applying targeted bundle optimization rules during code reviews. This prevents regressions and trims bundle size by enforcing minimal serialization and safe server/client component boundaries.

How do server actions in Next.js maintain safe client boundaries?

Server actions in Next.js maintain safe client boundaries by enforcing minimal serialization requirements. Applying robust server action patterns ensures secure execution while reducing client-side JavaScript payload and hydration overhead.

Why does React hydration mismatch occur and how can I fix it?

React hydration mismatch occurs due to inconsistent server and client rendering outputs. Fix hydration issues by applying proven server-side performance patterns that align SSR/CSR interactions and enforce safe server/client boundaries.

Can I use these React performance patterns for automated codebase refactoring?

Yes, you can use these React performance patterns for automated codebase refactoring. The 57 rules across 8 categories guide automated refactoring or code generation to achieve reliable performance gains during maintenance.

What are the limitations of applying Next.js server-side performance patterns?

Limitations of applying Next.js server-side performance patterns include ensuring minimal serialization constraints and maintaining robust server actions. Careful implementation is required to avoid breaking safe server/client boundaries during optimization.