vercel-react-best-practices

Optimize React and Next.js performance with caching, Suspense, and dynamic imports.

1|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/Hunt-Gather-Create/_R1 --skill vercel-react-best-practices-hunt-gather-create
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Hunt-Gather-Create/_R1/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Hunt-Gather-Create/_R1 --skill vercel-react-best-practices-hunt-gather-create

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects often struggle with consistent performance optimization and architectural guidance; teams lack a centralized, AI-friendly playbook to implement best practices across components, pages, fetch patterns, and bundle strategies.

Core Features & Use Cases

  • Guidelines covering performance-critical categories such as eliminating waterfalls, bundle size, server-side performance, and client-side data fetching.
  • Actionable patterns including async/await optimization, Suspense boundaries, dynamic imports, caching, and per-request deduplication to accelerate development and improve user experience.
  • Use cases across onboarding new projects, code reviews, refactors, and performance audits for large React/Next.js codebases.

Quick Start

Analyze a React/Next.js component and propose concrete performance improvements using the guidelines.

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 optimize React and Next.js performance during a code review?▼

To optimize React and Next.js performance, apply priority-driven guidelines covering bundle size, server-side performance, and client-side data fetching, using patterns like async/await optimization and dynamic imports.

What's the best way to eliminate data fetching waterfalls in Next.js applications?▼

The best way to eliminate data fetching waterfalls is to implement per-request deduplication, utilize Suspense boundaries, and apply caching strategies to parallelize async operations and improve runtime performance.

What are Suspense boundaries and when should I use them for React optimization?▼

Suspense boundaries are React components that handle loading states during async data fetching. Use them to eliminate waterfalls by allowing components to render independently, improving user experience during client-side data fetching.

Can I use dynamic imports to reduce bundle size in a Next.js project?▼

Yes, dynamic imports reduce bundle size by code-splitting React components and Next.js pages, loading non-critical code only when needed to improve overall runtime performance.

Does this performance optimization guidance apply to refactoring large React codebases?▼

Yes, these performance optimization guidelines are designed for onboarding new projects, code reviews, refactors, and performance audits for large React and Next.js codebases.

Why should I use per-request deduplication for client-side data fetching?▼

Per-request deduplication prevents redundant network requests during client-side data fetching, eliminating waterfalls and accelerating development by ensuring identical fetches reuse cached responses.