vercel-react-best-practices

Optimize React and Next.js code for performance and bundle efficiency.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps teams write, review, and refactor React and Next.js code with performance-focused guidance that reduces waterfalls, trims bundles, and prevents avoidable re-renders.

Core Features & Use Cases

  • Performance Reviews: Identify bottlenecks in components, hooks, data fetching, rendering, and server code.
  • Refactoring Guidance: Recommend safer patterns for Suspense, memoization, transitions, caching, and serialization.
  • Next.js Optimization: Improve bundle loading, route handlers, server actions, and request handling.
  • Use Case: A team can use this Skill to rewrite a slow dashboard page so it loads faster, fetches data in parallel, and ships less JavaScript.

Quick Start

Ask the skill to review a React or Next.js component and rewrite it with the highest-impact performance improvements.

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 server components?

Eliminate data fetching waterfalls in Next.js server components by parallelizing requests and applying Suspense boundaries. This Skill identifies sequential fetches and refactors them to load data concurrently, reducing load times and preventing render delays.

What is the best way to reduce bundle size and minimize re-renders in React?

The best way to reduce bundle size and minimize re-renders is through targeted memoization, code splitting, and server component optimization. This Skill reviews your code to trim unnecessary JavaScript and enforce secure, production-ready rendering patterns.

How do I refactor a slow React dashboard for better performance?

Refactor a slow React dashboard by identifying bottlenecks in component design, data fetching, and server actions. This Skill provides refactoring guidance to rewrite pages so they load faster, fetch data in parallel, and ship less JavaScript.

Does this approach work with both client-side React and Next.js server actions?

Yes, this approach works with both client-side React and Next.js server actions. It applies optimization patterns across both environments, ensuring proper serialization reduction, secure request handling, and optimal rendering behavior for server and client code.

When should I use Suspense and transitions for React rendering optimization?

Use Suspense and transitions for React rendering optimization when you need to manage asynchronous data loading and prevent UI blocking. This Skill recommends safer patterns for implementing these features to minimize re-renders and improve user experience.