vercel-react-best-practices

Apply React and Next.js performance guidelines to code reviews and refactors.

24|1|Updated Jul 10, 2025
One-click install
npx skills add https://github.com/Rykuno/SojuStack --skill vercel-react-best-practices-rykuno
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Rykuno/SojuStack/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Rykuno/SojuStack --skill vercel-react-best-practices-rykuno

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides actionable React and Next.js performance guidelines to help teams write, review, and refactor code that adheres to proven optimization patterns.

Core Features & Use Cases

  • Eliminate waterfalls and reduce bundle size by applying smart data fetching and import strategies.
  • Balance server vs client patterns with guidance for Server Actions, React Server Components, Suspense, and client data fetching.
  • Standardize refactors and generation with templates and checklists to consistently apply performance improvements.

Quick Start

Review a component or page against the guidelines and apply the recommended patterns to improve 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 eliminate data fetching waterfalls in React and Next.js?

To eliminate data fetching waterfalls in React and Next.js, apply smart parallel data fetching strategies and utilize React Server Components to move data fetching to the server side. This prevents sequential requests and reduces client-side rendering bottlenecks.

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

The best way to optimize bundle size in a Next.js application is to apply smart import strategies, utilize React Server Components to reduce client-side JavaScript, and standardize component refactors using performance checklists to consistently apply optimization improvements.

When should I use React Server Components instead of client-side rendering?

You should use React Server Components instead of client-side rendering when balancing server vs client patterns for data fetching and bundle optimization. Server Components reduce client JavaScript and improve server-side performance for static or data-heavy pages.

How do I review React components for performance issues during a refactor?

To review React components for performance issues during a refactor, evaluate the code against actionable performance guidelines covering bundle optimization, server-side performance, and client rendering patterns. Apply recommended templates to consistently improve component efficiency.

Does this approach work with Server Actions and Suspense in Next.js?

Yes, this approach works with Server Actions and Suspense in Next.js by providing specific guidance for balancing server vs client patterns. It standardizes refactors to ensure these features are used correctly to optimize server-side and client rendering performance.