vercel-react-best-practices

Apply React and Next.js performance best practices to components, pages, and data fetching.

20|3|Updated Nov 30, 2025
One-click install
npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill vercel-react-best-practices-andrelandgraf
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/andrelandgraf/fullstackrecipes/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/andrelandgraf/fullstackrecipes --skill vercel-react-best-practices-andrelandgraf

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js applications often suffer from performance regressions due to waterfalls, bloated bundles, and inefficient server/client rendering patterns. This skill provides a structured, peer-reviewed set of guidelines to consistently improve speed, reliability, and user experience across codebases.

Core Features & Use Cases

  • Broad coverage of performance optimization techniques for components, data fetching, rendering, and bundling.
  • Applicable during writing, reviewing, or refactoring React/Next.js code to ensure production-grade performance.
  • Real-world scenarios include optimizing Next.js pages, securing server actions, and implementing lazy-loading for heavy components.

Quick Start

Review and apply these guidelines when implementing or refactoring React/Next.js code to optimize performance.

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 code reviews?▼

To optimize React and Next.js performance during code reviews, apply structured guidelines that eliminate data fetching waterfalls, avoid barrel imports, and enforce safe server actions. This ensures production-grade speed and reliability across components and pages.

What causes bloated bundles in Next.js and how can I reduce them?▼

Bloated bundles in Next.js are often caused by barrel imports and heavy unoptimized components. You can reduce bundle size by avoiding barrel imports and implementing lazy-loading for heavy components to improve overall loading speed.

What are the best practices for securing Next.js server actions?▼

Best practices for securing Next.js server actions involve enforcing safe server-side rendering patterns and validating server actions to prevent vulnerabilities. Applying these peer-reviewed guidelines ensures reliable client-server data transitions and user experience.

How does lazy-loading heavy components improve React performance?▼

Lazy-loading heavy components improves React performance by deferring the loading of non-critical resources until they are needed. This reduces the initial bundle size and eliminates waterfalls, resulting in faster page rendering.

When should I refactor server and client rendering patterns in Next.js?▼

You should refactor server and client rendering patterns in Next.js when you experience performance regressions or inefficient data fetching. Enforcing safe server actions and eliminating waterfalls during refactoring restores production-grade speed and reliability.