vercel-react-best-practices

Optimize React and Next.js apps with code splitting and parallel data fetching.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Developers and teams face challenges in optimizing React and Next.js applications for fast load times and smooth user experiences.

Core Features & Use Cases

  • Performance Optimization: Provides detailed best practices for reducing bundle size, avoiding waterfalls, and improving server and client efficiency.
  • Code Quality & Maintainability: Offers rules for safer, more predictable React component behavior, such as stable callbacks and preventing unnecessary rerenders.
  • Quick Start: Follow the rules to identify performance bottlenecks, refactor code for parallelism, and implement best practices like lazy loading and caching in your React projects.

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 reduce bundle size and improve loading speed in React and Next.js?

To reduce bundle size and improve loading speed in React and Next.js, apply best practices like code splitting, lazy loading, and parallel data fetching to eliminate waterfalls and runtime inefficiencies.

Why does my Next.js app have slow server-side rendering and data fetching?

Slow Next.js server-side rendering often stems from data fetching waterfalls. You can resolve this by implementing parallel data fetching and utilizing React cache to prevent redundant server requests.

What is the best way to prevent unnecessary React component rerenders?

The best way to prevent unnecessary React component rerenders is to ensure safer component behavior by using stable callbacks and following predictable update rules for high-performance web apps.

When should I use lazy loading for React performance optimization?

You should use lazy loading for React performance optimization when you need to reduce initial bundle size and defer loading non-critical components, which improves initial load times and runtime efficiency.

Does this React optimization approach work for both client and server-side performance?

Yes, this React optimization approach works for both environments, providing specific best practices to improve server efficiency and client-side code execution for overall application speed.