react-best-practices

Identify and apply React and Next.js performance best practices for rendering, data fetching, and bundle size.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Anuar7777/wedding-crm --skill react-best-practices-anuar7777
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/Anuar7777/wedding-crm/tree/main/.cursor/.skills/frontend/react-best-practices
Command: npx skills add https://github.com/Anuar7777/wedding-crm --skill react-best-practices-anuar7777

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects often suffer from performance issues due to suboptimal data fetching, rendering, and bundle sizes. This Skill consolidates high-leverage practices and rules to accelerate time-to-interactive and user-perceived performance across client and server components.

Core Features & Use Cases

  • Establishes prioritized guidelines across eight categories (async waterfalls, bundle size, server-side performance, client data fetching, re-render optimization, rendering performance, JavaScript performance, and advanced patterns) to systematically improve code health.
  • Provides concrete patterns, code examples, and actionable steps for auditing, refactoring, and implementing performance improvements in real projects.
  • Enables automated tooling and review workflows to enforce consistency during development and deployment.

Quick Start

Audit your React/Next.js codebase and apply the top-priority optimization rules from this guide.

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 React and Next.js performance for server components and data fetching?

Optimize React and Next.js performance by applying prioritized best practices across eight categories including server-side performance, data fetching, and bundle size. This enforces high-leverage rules to accelerate time-to-interactive across client and server components.

What are the best practices for reducing bundle size and re-render optimization in Next.js?

Best practices for reducing bundle size and re-render optimization involve applying concrete patterns and actionable steps from the guide. This systematically improves code health by addressing async waterfalls and JavaScript performance.

How do I audit and refactor a React codebase for rendering performance?

Audit and refactor a React codebase for rendering performance by applying top-priority optimization rules from the guide. This provides actionable steps for reviewing and implementing improvements in real projects.

Does this React performance skill work for both new components and code refactors?

Yes, this React performance skill works for both new components and code refactors. It is applicable across client and server components, data-fetching, and routing in React and Next.js projects.

Can I automate React and Next.js performance reviews and refactoring workflows?

Yes, you can automate React and Next.js performance reviews and refactoring workflows. The skill supports optional assets and references for tooling integration to enforce consistency during development and deployment.