vercel-react-best-practices

Optimize React and Next.js code to remove performance bottlenecks and inefficient rendering patterns.

1|Updated Oct 10, 2025
One-click install
npx skills add https://github.com/cgRGM/rivercitymd --skill vercel-react-best-practices-cgrgm
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/cgRGM/rivercitymd/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/cgRGM/rivercitymd --skill vercel-react-best-practices-cgrgm

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps engineers eliminate common React and Next.js performance pitfalls so apps load faster, render more efficiently, and avoid unnecessary re-renders or server-side delays.

Core Features & Use Cases

  • Performance Review: Identify waterfalls, oversized bundles, hydration issues, and inefficient state or effect patterns.
  • Code Refactoring Guidance: Recommend safer server actions, better data-fetching composition, and cleaner render logic.
  • Use Case: When a Next.js dashboard feels slow, this Skill can pinpoint the highest-impact fixes across server components, client components, imports, and state updates.

Quick Start

Ask me to review your React or Next.js code for performance issues and I will return the highest-impact fixes first.

Frequently Asked Questions about vercel-react-best-practices

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

FAQPage Schema
How do I find and fix React and Next.js performance bottlenecks?▼

To fix React and Next.js performance bottlenecks, review your code for waterfalls, oversized bundles, and inefficient rendering patterns, then apply render-efficient component designs and safer server actions for the highest impact improvements.

Why does my Next.js dashboard have hydration issues and slow server-side rendering?▼

Hydration issues and slow server-side rendering in Next.js often stem from inefficient state or effect patterns and poor data-fetching composition, which can be resolved by minimizing serialization and using parallelized async work.

What is the best way to reduce bundle size in modern React applications?▼

The best way to reduce React bundle size is to use direct package imports and optimize bundle loading, which removes unnecessary client-side code and prevents oversized bundles from slowing down your app.

Can I optimize server and client data fetching to prevent loading waterfalls in Next.js?▼

Yes, you can optimize Next.js data fetching by parallelizing async work and improving server and client composition, which eliminates data-fetching waterfalls and reduces server-side delays.

When should I use server components versus client components for React state management?▼

You should use server components to minimize client-side JavaScript and optimize state management, reserving client components for interactive logic to avoid unnecessary re-renders and inefficient rendering patterns.