vercel-react-best-practices

Provides optimization rules and code examples for React and Next.js projects.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the critical need for high-performance React and Next.js applications by providing a comprehensive set of best practices to optimize code, reduce bundle sizes, and improve server-side and client-side rendering.

Core Features & Use Cases

  • Performance Optimization: Apply over 50 rules across 8 categories, from critical waterfall elimination to advanced patterns.
  • Bundle Size Reduction: Implement strategies like avoiding barrel imports and using dynamic imports to decrease load times.
  • Server & Client Efficiency: Optimize data fetching, serialization, and rendering for both server and client components.
  • Use Case: Refactor a Next.js application to eliminate render-blocking waterfalls, reduce initial JavaScript payload, and ensure smooth user interactions, leading to significantly faster load times and a better user experience.

Quick Start

Apply the vercel-react-best-practices skill to optimize the provided React component for performance.

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 slow load times?

React and Next.js performance optimization involves eliminating data fetching waterfalls, reducing bundle sizes via dynamic imports, and improving server-side rendering efficiency. Applying over 50 prioritized rules refactors code to significantly decrease load times and improve user interactions.

What is 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 avoid barrel imports and use dynamic imports. These strategies prevent unnecessary code from loading in the initial JavaScript payload, directly decreasing load times and improving client-side rendering.

How do I eliminate data fetching waterfalls in React server components?

To eliminate data fetching waterfalls in React server components, apply specific optimization rules that restructure data fetching and serialization patterns. This ensures parallel fetching and significantly improves overall server-side efficiency and rendering speed.

Does this React optimization approach work with existing codebases or only new projects?

This React optimization approach works with existing codebases by providing over 50 prioritized rules with detailed code examples for automated refactoring. You can apply these rules directly to current components to improve performance without needing to start from scratch.

Why does my Next.js app have slow client-side rendering and how do I fix it?

Your Next.js app has slow client-side rendering likely due to large JavaScript payloads and inefficient rendering patterns. You can fix it by implementing dynamic imports, avoiding barrel exports, and applying specific client-side efficiency rules to ensure smooth interactions.