vercel-react-best-practices

Optimize React and Next.js applications with performance rules for rendering and data fetching.

1|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/hermoso92/dobackv2 --skill vercel-react-best-practices-hermoso92
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/hermoso92/dobackv2/tree/main/.cursor/skills/vercel-react-best-practices
Command: npx skills add https://github.com/hermoso92/dobackv2 --skill vercel-react-best-practices-hermoso92

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses common performance bottlenecks in React and Next.js applications, ensuring faster load times, smoother user experiences, and more efficient code.

Core Features & Use Cases

  • Performance Optimization: Provides over 50 rules covering waterfalls, bundle size, server-side rendering, client-side fetching, and re-render optimization.
  • Code Refactoring Guidance: Offers concrete examples of incorrect vs. correct implementations for each rule.
  • Use Case: A developer is experiencing slow page loads in their Next.js app. They can use this Skill to identify and fix issues related to large bundle sizes or inefficient data fetching patterns.

Quick Start

Apply the vercel-react-best-practices skill to refactor the provided React component for optimal 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 fix slow page loads in my Next.js app caused by large bundle sizes?

To fix slow page loads caused by large bundle sizes, you can apply performance optimization rules to reduce your Next.js bundle. This Skill provides concrete examples of incorrect versus correct implementations to eliminate waterfalls and reduce bundle size.

What is the best way to optimize React component re-renders?

The best way to optimize React component re-renders is by applying targeted refactoring rules. This Skill provides specific guidelines and correct code examples to eliminate unnecessary re-renders and improve rendering performance.

How do I eliminate data fetching waterfalls in React applications?

To eliminate data fetching waterfalls in React, you need to restructure your client-side fetching patterns. This Skill offers over 50 optimization rules, including specific patterns to flatten waterfalls and improve server-side performance.

Can I use these optimization guidelines for both React and Next.js projects?

Yes, you can use these optimization guidelines for both React and Next.js projects. The Skill provides comprehensive performance rules covering both frameworks, targeting critical areas like server-side rendering and client-side fetching.

Why does my Next.js application have inefficient server-side rendering performance?

Your Next.js application has inefficient server-side rendering due to unoptimized data fetching and rendering patterns. This Skill identifies these bottlenecks and provides advanced patterns to refactor components for optimal server-side performance.

What are the limitations when refactoring React components for performance?

Refactoring React components for performance requires careful application of over 50 distinct rules covering waterfalls, bundle size, and re-renders. You must map your specific bottlenecks to the correct optimization patterns provided to avoid introducing new rendering issues.