react-best-practices

Audit React/Next.js projects to identify and fix performance bottlenecks.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/vishalpatel2890/slides --skill react-best-practices-vishalpatel2890
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/vishalpatel2890/slides/tree/main/.claude/skills/react-best-practices
Command: npx skills add https://github.com/vishalpatel2890/slides --skill react-best-practices-vishalpatel2890

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

React and Next.js apps can suffer from slow rendering, waterfalls, and large bundles. This guide provides a structured set of 40+ rules to identify and fix performance bottlenecks, helping teams ship faster, smoother UIs.

Core Features & Use Cases

  • 40+ rules organized by impact (CRITICAL to LOW) for eliminating waterfalls, reducing bundle size, and optimizing rendering.
  • Practical patterns, code examples, and decisions tailored for React and Next.js, including server components and client-side fetch strategies.
  • Use cases include refactoring for performance, auditing new features, and preventing regressions in production builds.

Quick Start

Audit a React/Next.js project to identify the top-3 performance bottlenecks (waterfalls, bundle size, and render-heavy paths), then implement the corresponding rules from this guide in a single sprint.

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

Optimize React and Next.js rendering by applying a structured set of 40+ best-practice rules that eliminate waterfalls, reduce bundle size, and improve rendering paths.

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

Reduce Next.js bundle size by following prioritized rules ranging from critical to low impact, providing practical patterns and code examples to identify and fix performance bottlenecks.

Does this performance guide work with both server components and client-side fetch strategies?

Yes, the performance guide provides decisions and patterns specifically tailored for both React and Next.js server components and client-side fetch strategies.

How do I audit a Next.js project to identify performance bottlenecks?

Audit a Next.js project by identifying the top-3 performance bottlenecks including waterfalls, bundle size, and render-heavy paths, then implement corresponding rules in a single sprint.

What is the best way to prevent performance regressions in production React builds?

Prevent React production regressions by using these best-practice guidelines to audit new features and refactor components, ensuring faster and smoother UIs.

When should I not use generic React optimization rules for my application?

Avoid generic rules when your app suffers from specific bottlenecks; instead, apply this guide's impact-organized rules to address exact rendering, waterfall, or bundle-size issues.