AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

React Performance

skill-evan-kim2028-agent-skills-react-performance · by Evan-Kim2028

>

No reviews yet
0 installs
19 views
0.0% view→install

Install

$ agentstack add skill-evan-kim2028-agent-skills-react-performance

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-evan-kim2028-agent-skills-react-performance)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
17d ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of React Performance? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

React performance

Job: Make product UI fast enough that craft work is usable.

Sources (attribution)

  • Vercel Engineering React Best Practices agent-skill lineage: prioritized

rules around waterfalls, bundle size, server/client data fetching, and re-render hygiene (public react-best-practices skill pattern).

  • Core Web Vitals orientation (LCP, INP/FID proxy, CLS) as used in product

performance budgets.

  • Chart/code-split practice common in analytics frontends (lazy heavy viz libs).

This file is a compact agent checklist, not a dump of Vercel’s full rule set.

When to load

  • Slow route transitions or chat streams that block input
  • Large main bundles / lighthouse or budget failures
  • Card grids, virtualized lists, ECharts/map libs
  • “Everything re-renders when one filter changes”

Priority order (fix highest impact first)

1. Eliminate waterfalls (critical)

  • Prefer parallel fetches over await chains
  • Don’t block entire page on secondary panels
  • Use deferred/streaming patterns when the framework supports them

Smell: Network waterfall in DevTools; time-to-first-content dominated by sequential API calls.

2. Bundle size (critical)

  • Dynamic import heavy routes and libs (echarts, markdown, pdf, maps)
  • Avoid barrel-file imports that pull whole icon/component sets
  • Keep SSR/client entry lean; split admin/scanner/trade if route-isolated

Smell: Main chunk jumps after adding one chart import.

3. Data fetching hygiene

  • Cache with stable keys (React Query / router loaders)
  • Stale-while-revalidate for browse surfaces when product allows
  • Don’t refetch whole page for grade/timeframe toggles if partial data works
  • Cancel/ignore stale responses on rapid filter changes

4. Re-render control (medium)

  • State lives near consumers; avoid god-context for high-frequency values
  • Derived booleans over storing everything raw
  • Memoize expensive pure calc (chart option builders), not every component
  • Virtualize long lists (@tanstack/react-virtual or equivalent)

5. Rendering performance

  • Animate transform/opacity only
  • content-visibility for long offscreen sections when appropriate
  • Images: correct size/variant for thumbnails vs lightbox

6. Charts (analytics-specific)

  • One shared chart component contract (dispose on unmount)
  • Don’t rebuild full option objects on unrelated parent state
  • Separate chart chunk from app shell

Review output

State impact tier + fix:

CRITICAL — sequential grade-stats then sales fetch on card open; parallelize
HIGH — echarts imported from route root; dynamic import into Chart shell
MEDIUM — filter context re-renders entire PriceMatrix; split selection state

Hand off

| Need | Next skill | |------|------------| | Tokens/layout | design-system / product-ui-craft | | Prove no visual regression after split | browser-verify | | Mobile jank from sticky+scroll | mobile-product-ux |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.