react-best-practices

Optimize React and Next.js application performance with Vercel engineering standards.

1|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/locnbk2002/my-copilot --skill react-best-practices-locnbk2002
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/locnbk2002/my-copilot/tree/main/my-copilot-frontend/skills/react-best-practices
Command: npx skills add https://github.com/locnbk2002/my-copilot --skill react-best-practices-locnbk2002

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers write more performant React and Next.js applications by providing clear, actionable guidelines and best practices.

Core Features & Use Cases

  • Performance Optimization: Offers rules for critical areas like data fetching, bundle size, and re-rendering.
  • Code Review Aid: Serves as a checklist for ensuring code quality and efficiency.
  • Use Case: When developing a new feature in a Next.js app, use this skill to ensure your data fetching strategy is efficient and doesn't lead to waterfalls or unnecessary re-renders.

Quick Start

Apply the async-parallel rule to optimize data fetching in your React component.

Frequently Asked Questions about react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize data fetching in React to eliminate waterfalls?

To optimize data fetching and eliminate waterfalls in React, apply parallel async rules to fetch data concurrently. This prevents sequential blocking requests and significantly improves application loading performance.

What is the best way to reduce bundle size in a Next.js application?

Reducing bundle size in a Next.js application involves adhering to specific bundle size optimization guidelines. This ensures efficient code splitting and minimizes the JavaScript payload sent to the client.

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

To stop unnecessary re-renders in React components, follow re-render optimization rules that manage state and props efficiently. This ensures rendering performance is maintained at Vercel's engineering standards.

Does this approach support both server-side and client-side data fetching?

Yes, the optimization guidelines support both server-side and client-side data fetching in React and Next.js. This ensures efficient data retrieval strategies across different rendering environments.

Can I use these rules as a code review checklist for frontend performance?

You can use these rules as a code review checklist for frontend performance. They provide actionable guidelines to ensure code quality, efficiency, and optimal re-rendering in your web applications.