vercel-react-best-practices

Identify and apply React and Next.js performance optimizations across components, pages, and routes.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/boomNDS/staykha-app --skill vercel-react-best-practices-boomnds
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/boomNDS/staykha-app/tree/main/.cursor/skills/vercel-react-best-practices
Command: npx skills add https://github.com/boomNDS/staykha-app --skill vercel-react-best-practices-boomnds

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React/Next.js performance can be hindered by poor data fetching, large bundles, and inefficient rendering. This Skill provides a structured approach to identify and apply proven optimizations to improve TTI, FCP, and overall user experience.

Core Features & Use Cases

  • Establishes prioritized guidelines across waterfalls, bundle sizes, server/client fetches, and rendering optimizations to guide code reviews and automated refactoring.
  • Applies to React components, Next.js pages, and server/client data flows, including SSR, SSG, and API routes.
  • Real-world scenarios include reducing initial payloads, deferring non-critical work, and accelerating hydration.

Quick Start

Audit a React/Next.js project to apply the recommended optimizations across components, pages, and data-fetching patterns.

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 to reduce bundle size and improve web vitals?

To optimize React and Next.js performance, apply structured best practices targeting waterfalls, bundle size, server/client data fetching, and rendering improvements to accelerate TTI, FCP, and overall user experience.

What's the best way to fix rendering waterfalls and slow hydration in Next.js server components?

Fixing rendering waterfalls and slow hydration in Next.js server components involves deferring non-critical work, optimizing server/client data flows, and applying targeted rendering optimizations across components and pages.

Can I safely refactor Next.js pages and API routes for performance without breaking SSR and SSG?

Yes, you can safely refactor Next.js pages and API routes for performance by applying prioritized guidelines and safety checks that ensure SSR, SSG, and server/client data fetching patterns remain intact during optimization.

Why does my React initial payload remain large after optimizing client-side data fetching?

A large React initial payload often persists when server/client fetches and bundle sizes are not fully optimized, requiring structured reductions in initial payloads and deferral of non-critical work across components.

Does this approach apply to both React components and Next.js API routes for performance tuning?

Yes, this approach applies to React components, Next.js pages, and API routes, establishing prioritized guidelines across server/client data flows, rendering optimizations, and bundle size reductions for comprehensive performance tuning.

How do I audit a React/Next.js project to apply performance best practices across components and routes?

Auditing a React/Next.js project involves identifying and applying proven optimizations across components, pages, and routes, targeting improvements in waterfalls, bundle sizes, server/client fetches, and rendering performance.