vercel-react-best-practices

Identify and enforce React/Next.js performance rules to reduce waterfalls and optimize bundles.

1|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/dappvibe/pexfi --skill vercel-react-best-practices-dappvibe
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/dappvibe/pexfi/tree/main/.agent/skills/vercel-react-best-practices
Command: npx skills add https://github.com/dappvibe/pexfi --skill vercel-react-best-practices-dappvibe

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js apps often suffer from performance issues due to waterfalls, bloated bundles, and inefficient rendering patterns. This skill provides a centralized, prioritized set of guidelines to help engineers write faster, more scalable UI.

Core Features & Use Cases

  • Category-driven rules (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns) with practical examples.
  • Clear guidance for both server and client patterns, data fetching strategies, code-splitting, and performance workflows.
  • Concrete, real-world scenarios illustrating measurable performance gains.

Quick Start

Audit your React/Next.js project and implement the prioritized performance rules to reduce waterfalls and bundle sizes.

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 eliminate data fetching waterfalls in React and Next.js server components?

To eliminate React waterfalls, parallelize data fetching requests instead of nesting them sequentially. This skill provides a prioritized rule catalog to identify waterfall patterns and apply parallel fetching strategies to speed up server-side rendering.

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

The best way to optimize Next.js bundle size is applying code-splitting and removing unnecessary client-side JavaScript. This skill codifies bundle size optimization rules to audit your project and enforce dynamic imports, systematically reducing bloated bundles.

When should I use React server components versus client components for performance?

Use React server components for data fetching and static rendering to reduce client JavaScript, and client components only for interactivity. This skill provides clear guidance for both server and client patterns to systematically optimize rendering performance across the stack.

How do I stop unnecessary re-renders in my React application?

To stop unnecessary React re-renders, apply component memoization and optimize state placement to prevent cascading updates. This skill includes re-render optimization rules with concrete examples to guide automated refactoring and measurable performance gains.

Can I use this to audit an existing React codebase for performance issues?

Yes, you can audit an existing React codebase by applying the prioritized performance rules from critical to low priority. This skill codifies a rule catalog with concrete transformation guidance to systematically identify and refactor inefficient rendering patterns.

Why does my Next.js page load slowly despite using server-side rendering?

Your Next.js page loads slowly due to inefficient server-side rendering patterns, data waterfalls, or bloated bundles. This skill helps identify and enforce performance best practices to reduce waterfalls, optimize bundles, and speed up SSR and CSR.