react-best-practices

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

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/dgkngk/super-kit --skill react-best-practices-dgkngk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/dgkngk/super-kit/tree/main/skills/tech/nextjs-react-expert
Command: npx skills add https://github.com/dgkngk/super-kit --skill react-best-practices-dgkngk

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses performance bottlenecks in React and Next.js applications, from slow page loads and large bundle sizes to excessive re-renders and server-side inefficiencies.

Core Features & Use Cases

  • Performance Auditing: Identifies and provides solutions for critical performance issues.
  • Optimization Strategies: Offers best practices for eliminating waterfalls, reducing bundle size, optimizing rendering, and improving server-side performance.
  • Use Case: When experiencing slow initial page loads, use this Skill to identify and fix sequential data fetching waterfalls and optimize JavaScript bundle size.

Quick Start

Use the react-best-practices skill to review the performance of the current project for critical issues.

Frequently Asked Questions about react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fix slow initial page loads in my Next.js application?

Fix slow initial page loads by identifying and resolving sequential data fetching waterfalls and optimizing JavaScript bundle size. This skill audits your React and Next.js application to provide actionable solutions based on Vercel Engineering best practices.

What are data fetching waterfalls in React and how do they affect performance?

Data fetching waterfalls in React are sequential data loads where dependencies block subsequent requests, delaying page render. This skill helps you identify these sequential patterns and offers optimization strategies to parallelize fetching and improve server-side rendering efficiency.

How do I reduce JavaScript bundle size in a React project?

Reduce JavaScript bundle size in React by applying optimization strategies that target unnecessary dependencies and inefficient code splitting. This skill audits your project to pinpoint performance pitfalls and offers best practices to minimize the final bundle payload.

Can I use these React optimization strategies for server-side rendering inefficiencies?

Yes, you can use these strategies to address server-side rendering inefficiencies. The skill provides a comprehensive guide to optimizing React and Next.js application performance, specifically targeting excessive re-renders and server-side bottlenecks.

What is the best way to audit my React application for performance bottlenecks?

The best way to audit for React performance bottlenecks is to review the project for critical issues like large bundle sizes and slow page loads. This skill performs a comprehensive performance audit to identify common pitfalls and offer actionable solutions.