vercel-react-best-practices

Apply Vercel rules to refactor React and Next.js code for performance.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/createtree2017/createtree-office --skill vercel-react-best-practices-createtree2017
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/createtree2017/createtree-office/tree/main/.agents/skills/react-best-practices
Command: npx skills add https://github.com/createtree2017/createtree-office --skill vercel-react-best-practices-createtree2017

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps you prevent common React and Next.js performance regressions by guiding you toward correct patterns for avoiding waterfalls, minimizing bundle size, reducing re-renders, and optimizing rendering behavior.

Core Features & Use Cases

  • Eliminates server/client waterfalls: restructure async flows using parallelization, Suspense streaming, and dependency-aware concurrency.
  • Cuts bundle and page load weight: avoid expensive import patterns, defer non-critical work, and use dynamic loading/preloading for heavy modules.
  • Improves UI responsiveness: optimize state subscriptions, derived values, transitions, and transient updates to reduce unnecessary render work.

Quick Start

Use the skill to review your React/Next.js codebase and identify the highest-impact performance issues, starting with data-fetching waterfalls and bundle-size bottlenecks.

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 fix data fetching waterfalls in Next.js and React?

To fix data fetching waterfalls in Next.js and React, you restructure async flows using parallelization, Suspense streaming, and dependency-aware concurrency. This eliminates sequential server/client data requests and reduces load times.

What is the best way to reduce React bundle size for heavy imports?

The best way to reduce React bundle size is avoiding expensive import patterns, deferring non-critical work, and using dynamic loading or preloading for heavy modules. This cuts page load weight and improves performance.

How do I stop unnecessary re-renders in React components?

To stop unnecessary re-renders in React components, optimize state subscriptions, derived values, transitions, and transient updates. This reduces render churn and improves UI responsiveness.

Can I use Vercel React performance patterns for code reviews and refactors?

Yes, you can use Vercel React performance patterns for code reviews, refactors, and new feature implementation. The rule set guides you to transform code by matching incorrect vs correct implementation examples.

Does this approach work for both client and server data fetching in Next.js?

Yes, this approach works for both client and server data fetching in Next.js. It guides performance-optimized patterns across component rendering, import strategies, and serialization to prevent regressions.

Why does my Next.js app have rendering inefficiencies and slow UI responsiveness?

Your Next.js app has rendering inefficiencies due to waterfalls, bundle weight, and unoptimized state subscriptions. Applying performance patterns reduces render work and improves UI responsiveness.