vercel-react-best-practices

Optimize React and Next.js performance with best practices for data fetching and bundle size.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a comprehensive set of rules and best practices to significantly improve the performance of React and Next.js applications, addressing critical areas like rendering, bundle size, and data fetching.

Core Features & Use Cases

  • Performance Optimization: Offers over 40 rules across 8 categories, prioritized by impact, to guide developers in writing efficient code.
  • Automated Refactoring Guidance: Provides detailed explanations, code examples, and impact metrics for AI agents and developers to refactor and generate optimized code.
  • Use Case: When developing a new feature in a Next.js app, use this Skill to ensure all data fetching patterns are optimized to prevent waterfalls and minimize bundle size, leading to faster load times and a better user experience.

Quick Start

Apply the vercel-react-best-practices skill to review the current data fetching strategy in the pages/dashboard.tsx file for performance bottlenecks.

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 during development?

To optimize React and Next.js performance, apply a comprehensive set of rules targeting bundle size, data fetching, and rendering. This involves eliminating waterfalls and following prioritized best practices across eight critical categories to improve load times.

What's the best way to prevent data fetching waterfalls in Next.js applications?

The best way to prevent data fetching waterfalls in Next.js is to implement optimized server-side and client-side fetching patterns. Reviewing data strategies ensures requests run concurrently, minimizing load times and preventing performance bottlenecks.

Why does my React application have a large bundle size and how can I reduce it?

Your React application has a large bundle size due to unoptimized imports and rendering patterns. You can reduce it by applying bundle size optimization rules, refactoring code based on impact metrics, and eliminating unnecessary client-side JavaScript.

Can I use these React performance best practices to refactor an existing codebase?

Yes, you can use these React performance best practices to refactor an existing codebase. The guide provides detailed explanations, code examples, and impact metrics designed for AI agents to maintain, generate, or refactor React and Next.js codebases.

How do I reduce unnecessary re-renders in my React components?

To reduce unnecessary re-renders in React components, apply re-render optimization patterns provided in the guide. These advanced patterns prioritize rendering performance and JavaScript performance improvements based on their overall impact.

Does this guide cover both server-side and client-side rendering optimization for Next.js?

Yes, this guide covers both server-side and client-side rendering optimization for Next.js. It provides rules for optimized data fetching on both sides, preventing waterfalls and minimizing bundle size to ensure faster load times.