react-best-practices

Review React code against prioritized performance optimization rules.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides comprehensive guidelines and actionable rules to optimize React applications for better performance, faster load times, and improved user experience.

Core Features & Use Cases

  • Performance Auditing: Identifies common performance anti-patterns in React code.
  • Optimization Strategies: Offers specific, prioritized rules for improving rendering, bundle size, and data fetching.
  • Use Case: When refactoring a slow-loading React dashboard, use this Skill to identify and fix issues like unnecessary re-renders, large bundle sizes, and inefficient data fetching patterns.

Quick Start

Apply the react-best-practices skill to review and optimize the provided React component code for performance.

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 application performance during a code review?

To optimize React performance during a code review, apply a prioritized set of rules targeting critical areas like eliminating data fetching waterfalls, reducing bundle size, and minimizing unnecessary re-renders to achieve faster load times.

What's the best way to fix slow React component rendering?

Fix slow React component rendering by applying specific optimization patterns such as leveraging CSS content-visibility for rendering performance and implementing JavaScript micro-optimizations to improve overall UI responsiveness.

How does TanStack Query improve client-side data fetching in React?

TanStack Query improves client-side data fetching by replacing sequential request waterfalls with parallel data retrieval patterns, ensuring efficient state management and faster loading for complex React dashboard applications.

Why should I avoid barrel imports when optimizing React bundle size?

Avoiding barrel imports optimizes React bundle size by preventing the bundler from pulling in unused module dependencies, which directly reduces the final JavaScript payload and accelerates initial page load times.

Can I use these React optimization rules for refactoring existing code?

Yes, you can use these React optimization rules for refactoring existing code, as the guidelines specifically apply to code review, refactoring legacy components, and new development scenarios to identify and fix anti-patterns.

When do I need to use Promise.all for React data fetching?

Use Promise.all for React data fetching when you need to eliminate sequential request waterfalls, allowing multiple asynchronous operations to resolve concurrently and significantly improving application loading speed.