vercel-react-best-practices

Apply React and Next.js performance best practices to code review and refactoring.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/pukpuklouis/website-blackliving-ecomm --skill vercel-react-best-practices-pukpuklouis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/pukpuklouis/website-blackliving-ecomm/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/pukpuklouis/website-blackliving-ecomm --skill vercel-react-best-practices-pukpuklouis

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill captures and communicates best practices for optimizing React and Next.js applications, helping teams deliver faster, more reliable UIs.

Core Features & Use Cases

  • Standardized performance patterns for server components, data fetching, and bundle optimization.
  • Code review guidance to spot anti-patterns like waterfalls, eager serialization, and needless re-renders.
  • Use-case guidance for refactoring tasks such as parallelizing fetches, suspending data loading, and reducing bundle size.

Quick Start

Use the vercel-react-best-practices skill to audit a Next.js project and apply a set of targeted performance improvements.

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 data fetching in Next.js server components?

To optimize data fetching in Next.js server components, apply established best practices like parallelizing fetches and deferring awaits. This prevents request waterfalls and ensures your UI loads faster by resolving data dependencies concurrently.

What are common React performance anti-patterns to look for during a code review?

Common React performance anti-patterns to spot during a code review include data fetching waterfalls, eager serialization, and needless re-renders. Identifying these issues helps enforce patterns that reduce bundle size and improve rendering speed.

What is the best way to reduce bundle size in a React and Next.js application?

The best way to reduce bundle size in a React and Next.js application is to apply targeted refactoring techniques such as minimal serialization and optimizing server components. This ensures your UI loads faster and more reliably.

How does Suspense work for data loading in React server components?

Suspense in React server components works by suspending data loading to defer rendering until data is ready. This pattern helps avoid blocking the main thread and allows you to stream UI components as their underlying data resolves.

Can I use cross-request caching to improve Next.js performance?

Yes, you can use cross-request caching to improve Next.js performance by sharing fetched data across multiple incoming requests. This minimizes redundant fetches and speeds up server response times for subsequent visitors.

When should I not use minimal serialization in React server components?

You should avoid minimal serialization in React server components when passing large complex objects between server and client boundaries is absolutely necessary for client-side interactivity. Otherwise, minimizing serialization prevents excessive bundle sizes and rendering delays.