react-best-practices

Optimize React and Next.js performance by eliminating waterfalls and reducing bundle size.

1|1|Updated Jan 15, 2026
One-click install
npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill react-best-practices-thanh-apero
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/Thanh-apero/apero-kit-cli/tree/main/templates/skills/react-best-practices
Command: npx skills add https://github.com/Thanh-apero/apero-kit-cli --skill react-best-practices-thanh-apero

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the performance challenges in React and Next.js applications, ensuring optimal performance and efficiency through a comprehensive set of best practices.

Core Features & Use Cases

  • Performance Optimization: Offers 40+ rules covering critical performance optimizations like eliminating waterfalls, optimizing bundle size, and improving server-side performance.
  • Guidelines for Developers: Provides clear, actionable guidelines for developers to follow when writing, reviewing, or refactoring code.
  • Use Case: When developing a new React/Next.js application, this Skill helps identify performance bottlenecks and implement best practices to improve load times and responsiveness.

Quick Start

Run the react-best-practices skill to view the complete list of optimization rules and guidelines.

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 application performance?

To optimize React and Next.js performance, apply over 40 expert guidelines covering waterfall elimination, bundle size reduction, and server-side rendering improvements. These rules provide clear, actionable steps for developers to identify bottlenecks and improve load times.

What are the best practices for reducing bundle size in Next.js?

Best practices for reducing bundle size in Next.js involve applying targeted optimization rules that eliminate unnecessary code and dependencies. This Skill provides specific guidelines to analyze your bundle and implement reductions for faster load times.

How does eliminating waterfalls improve server-side rendering in React?

Eliminating waterfalls improves server-side rendering in React by preventing sequential data fetching that blocks page loads. This Skill outlines specific performance optimization techniques to parallelize requests and enhance server-side efficiency.

Do I need prior web performance optimization knowledge to use these React guidelines?

Yes, applying these React performance guidelines requires existing knowledge of web performance optimization techniques. The Skill provides advanced rules for eliminating waterfalls and optimizing bundles, targeting developers already familiar with React and Next.js workflows.

When should I review my React code for performance bottlenecks?

You should review React code for performance bottlenecks when developing new applications or refactoring existing ones. This Skill helps identify inefficiencies and provides actionable guidelines to improve responsiveness during code reviews.

Can these guidelines help with client-side performance in Next.js?

Yes, these guidelines help with client-side performance in Next.js by addressing bundle size and rendering inefficiencies. The optimization rules cover both server-side and client-side performance improvements for web development workflows.