Loading...
Loading...
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
npx skill4agent add onekeyhq/app-monorepo react-best-practicesAttribution: This skill is forked from vercel-labs/agent-skills. All documentation and references are included locally in this repository - no network access required.
| Priority | Category | Impact |
|---|---|---|
| 1 | Eliminating Waterfalls | CRITICAL |
| 2 | Bundle Size Optimization | CRITICAL |
| 3 | Server-Side Performance | HIGH |
| 4 | Client-Side Data Fetching | MEDIUM-HIGH |
| 5 | Re-render Optimization | MEDIUM |
| 6 | Rendering Performance | MEDIUM |
| 7 | JavaScript Performance | LOW-MEDIUM |
| 8 | Advanced Patterns | LOW |
Promise.all()better-allnext/dynamicReact.cache()startTransitioncontent-visibility: auto? :&&toSorted()sort()references/react-performance-guidelines.mdreferences/rules/grep -l "suspense" references/rules/
grep -l "barrel" references/rules/
grep -l "swr" references/rules/references/rules/async-*bundle-*server-*client-*rerender-*rendering-*js-*advanced-*