vercel-react-best-practices

Apply performance optimization patterns to React and Next.js codebases.

64|2|Updated Feb 8, 2018
One-click install
npx skills add https://github.com/yuki-yano/dotfiles --skill vercel-react-best-practices-yuki-yano
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/yuki-yano/dotfiles/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/yuki-yano/dotfiles --skill vercel-react-best-practices-yuki-yano

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Vercel React Best Practices provides a structured, authoritative guide to optimize React and Next.js performance, ensuring reliable, fast user experiences.

Core Features & Use Cases

  • 57 rules across 8 categories, covering eliminating waterfalls, bundle size optimization, server-side performance, client-side data fetching, re-render and rendering performance, JavaScript performance, and advanced patterns.
  • Designed for tasks such as writing new components/pages, reviewing code for performance bottlenecks, and refactoring existing code to meet performance criteria, with practical patterns like Suspense boundaries, preloading, and safe server actions.

Quick Start

Analyze your codebase and apply the 57 rules 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 for data fetching and rendering?

Optimize React and Next.js performance by applying 57 structured rules across 8 categories, covering data fetching, Suspense boundaries, and bundle size reduction to ensure fast, reliable user experiences.

What is the best way to reduce bundle size in a Next.js application?

The best way to reduce Next.js bundle size is to apply targeted bundling optimization patterns that analyze your codebase and enforce criteria for minimizing JavaScript payloads across server and client boundaries.

How do I use Suspense boundaries and caching strategies in React components?

Use Suspense boundaries and caching strategies by applying advanced React patterns that enforce safe Server Actions and preloading techniques, effectively managing data fetching across server and client boundaries.

Can I use these performance patterns to refactor existing Next.js pages?

Yes, you can use these performance patterns to refactor existing Next.js pages and components, reviewing your codebase for bottlenecks and enforcing optimization criteria across server-side rendering and client-side data fetching.

Why does my Next.js app have client-side data fetching bottlenecks?

Next.js client-side data fetching bottlenecks often occur when code creates waterfalls instead of leveraging preloading and caching strategies; applying structured performance rules helps identify and eliminate these inefficient patterns.