nextjs-react-expert

Identify and optimize Next.js and React performance across waterfalls and bundle size.

Updated Jan 29, 2026
One-click install
npx skills add https://github.com/rahlplx/New-Smile-Savers --skill nextjs-react-expert-rahlplx
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nextjs-react-expert
Source: https://github.com/rahlplx/New-Smile-Savers/tree/main/smile-savers-site/.agent/skills/nextjs-react-expert
Command: npx skills add https://github.com/rahlplx/New-Smile-Savers --skill nextjs-react-expert-rahlplx

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Next.js and React performance optimization guidance to reduce waterfalls, shrink bundles, enhance SSR/CSR performance, and streamline architectural patterns.

Core Features & Use Cases

  • Comprehensive rules covering waterfalls, bundle size, server-side performance, client-side data fetching, re-render optimization, rendering performance, JavaScript micro-optimizations, and advanced patterns.
  • Practical patterns and examples derived from Vercel engineering to audit and implement high-impact improvements.
  • Use cases include accelerating first paint, reducing data-fetching waterfalls, and improving maintainable performance reviews.

Quick Start

Review the CRITICAL sections first to identify waterfalls and bundle issues, then apply the recommended changes across server/client patterns and re-usable components.

Frequently Asked Questions about nextjs-react-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce data fetching waterfalls in Next.js and React?

Reduce data fetching waterfalls by parallelizing requests and applying server-side rendering patterns. This approach accelerates first paint and improves Time to Interactive by fetching data concurrently rather than sequentially blocking the client rendering.

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

Optimize bundle size by using dynamic imports and enforcing strict server/client boundaries. Shrinking bundles streamlines architectural patterns and ensures safe, measurable changes that improve overall Next.js loading performance.

How does enforcing server/client boundaries improve React performance?

Enforcing server/client boundaries improves React performance by isolating client-side data fetching and rendering. This reduces unnecessary JavaScript shipped to the browser and optimizes server-side rendering execution for faster page loads.

When do I need to use memoization for Next.js re-render optimization?

Use memoization for Next.js re-render optimization when client-side data fetching triggers unnecessary component updates. Applying memoization enforces safe, measurable changes that prevent redundant rendering cycles and improve UI responsiveness.

Does this approach work for optimizing both SSR and client-side rendering?

Yes, this approach optimizes both server-side rendering and client-side data fetching. It identifies performance bottlenecks across the entire Next.js architecture, applying guidance on caching and rendering patterns to enhance both CSR and SSR performance.

What are the limitations of using dynamic imports for bundle optimization?

Dynamic imports for bundle optimization require careful management of server/client boundaries to avoid rendering delays. While shrinking bundles, mismanaged dynamic imports can introduce waterfalls if client-side data fetching is not properly parallelized.