react-best-practices

Optimize React and Next.js applications with performance rules and code examples.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive set of rules and guidelines to significantly improve the performance and efficiency of React and Next.js applications.

Core Features & Use Cases

  • Performance Optimization: Offers 57 rules across 8 categories to enhance speed, reduce bundle size, and improve rendering.
  • Developer Guidance: Aids in writing better React components, optimizing data fetching, and refining code for performance.
  • Use Case: When developing a new feature in a Next.js app, use this Skill to ensure all data fetching is optimized and component re-renders are minimized.

Quick Start

Apply the react-best-practices skill to review the current codebase for performance bottlenecks.

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 and reduce bundle size?

To optimize React and Next.js performance, apply rules that target bundle size reduction, eliminate data fetching waterfalls, and minimize component re-renders. This provides specific code examples to enhance rendering speed and JavaScript efficiency across 8 categories.

What is the best way to prevent unnecessary component re-renders in React?

Preventing unnecessary component re-renders involves following specific rendering performance guidelines. These rules guide writing optimized React components and refining data fetching patterns to ensure optimal client-side rendering behavior.

How do I eliminate data fetching waterfalls in Next.js applications?

Eliminating data fetching waterfalls requires optimizing server-side and client-side data fetching strategies. The guidelines provide rules for structuring these fetches to avoid sequential blocking requests and improve overall application speed.

Can I use these React optimization rules to review my existing codebase?

Yes, you can use these React optimization rules to review your existing codebase. The guidelines are designed to identify performance bottlenecks in current Next.js apps, checking data fetching and rendering efficiency against 57 distinct rules.

Does this guide cover both server-side and client-side data fetching in Next.js?

Yes, this guide covers both server-side and client-side data fetching in Next.js. It provides specific rules to optimize how data is loaded on both ends, preventing waterfalls and ensuring efficient rendering performance.