vercel-react-best-practices

Apply Vercel-approved rules to optimize React and Next.js performance.

3|1|Updated Sep 17, 2025
One-click install
npx skills add https://github.com/caterpi11ar/locusify --skill vercel-react-best-practices-caterpi11ar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/caterpi11ar/locusify/tree/main/packages/app/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/caterpi11ar/locusify --skill vercel-react-best-practices-caterpi11ar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses performance bottlenecks in React and Next.js applications by providing a structured set of engineering rules to eliminate waterfalls, optimize bundle sizes, and improve rendering efficiency.

Core Features & Use Cases

  • Performance Optimization: Access 58 curated rules covering async data fetching, bundle splitting, and server-side performance.
  • Code Quality: Ensure consistency across React components and Next.js pages by following Vercel-approved patterns.
  • Use Case: When refactoring a slow Next.js page, use this Skill to identify and eliminate sequential data fetching waterfalls or to lazy-load heavy third-party components.

Quick Start

Apply the vercel-react-best-practices skill to review the current component and suggest optimizations for eliminating waterfalls and reducing bundle size.

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

To eliminate data fetching waterfalls in Next.js, apply structured performance optimization rules that parallelize async data fetching and deduplicate client-side requests. This reduces sequential loading delays and improves server-side rendering efficiency.

What's the best way to reduce React bundle size during code reviews?

The best way to reduce React bundle size during code reviews is to apply curated engineering rules that identify heavy components and enforce bundle splitting. This process ensures consistency across React components by following approved refactoring patterns.

How do I optimize React performance for slow rendering pages?

Optimize React performance for slow pages by applying advanced pattern implementation to improve rendering efficiency. This involves identifying sequential data fetching waterfalls and lazy-loading heavy third-party components to unblock the rendering pipeline.

Does this approach work for both client-side fetching and server-side rendering?

Yes, this optimization approach works for both client-side fetching and server-side rendering. It provides comprehensive guidelines that satisfy requirements for server-side rendering efficiency and client-side data fetching deduplication simultaneously.

When should I not use lazy-loading for third-party components?

You should avoid lazy-loading third-party components when it introduces rendering waterfalls or degrades server-side rendering efficiency. Evaluate bundle splitting constraints carefully to ensure the lazy-loaded chunk does not block critical rendering paths.

Can I use these React optimization patterns for high-performance web component development?

Yes, you can use these React optimization patterns for high-performance web component development. The guidelines cover advanced React pattern implementation to ensure consistency and optimal rendering efficiency across newly developed components.