vercel-react-best-practices

Optimize React and Next.js applications with performance guidelines for data fetching and rendering.

Updated Feb 26, 2026
One-click install
npx skills add https://github.com/nicanac/gh-sync --skill vercel-react-best-practices-nicanac
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/nicanac/gh-sync/tree/main/golden-source/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/nicanac/gh-sync --skill vercel-react-best-practices-nicanac

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps developers write, review, and refactor React and Next.js code to achieve optimal performance, preventing common pitfalls and ensuring efficient applications.

Core Features & Use Cases

  • Performance Guidelines: Provides over 50 rules covering waterfalls, bundle size, server-side rendering, client-side fetching, and more.
  • Code Refactoring: Offers concrete examples of incorrect vs. correct implementations for immediate application.
  • Use Case: When building a new feature in a Next.js app, consult this Skill to ensure data fetching is parallelized, bundle sizes are minimized, and server-side rendering is efficient.

Quick Start

Apply the vercel-react-best-practices skill to optimize the data fetching logic in the UserProfile component.

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 when refactoring components?

To optimize React and Next.js performance, apply over 50 rules covering waterfall elimination, bundle size reduction, and efficient server-side rendering. The guidelines provide concrete incorrect versus correct code examples for immediate refactoring application.

What are the best practices for client-side data fetching in Next.js?

Best practices for client-side data fetching in Next.js involve parallelizing requests to eliminate waterfalls and ensuring efficient rendering. The guidelines provide specific rules to optimize data fetching logic and prevent common performance pitfalls.

How can I reduce bundle size in a React application?

You can reduce bundle size in a React application by applying specific optimization rules provided for code generation and review. These guidelines target bundle size minimization alongside server-side performance and JavaScript execution improvements.

When do I need to optimize server-side rendering performance in Next.js?

You need to optimize server-side rendering performance in Next.js when building features that require efficient data fetching and minimal bundle sizes. The guidelines ensure data fetching is parallelized and server-side rendering is efficient.

Does this approach work for both new feature development and code review?

Yes, this approach works for both new feature development and code review by providing comprehensive performance optimization guidelines. It targets developers and AI agents involved in generating, reviewing, and refactoring React and Next.js codebases.