Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides React and Next.js performance optimization rules from Vercel covering waterfalls, bundle size, rendering, and data fetching.
83% 96%+13 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 19 of 23 without it.
A React dashboard page includes a large rich-text editor component that weighs over 200KB. Most users view the dashboard without ever clicking 'Edit'. How should this editor component be imported to improve initial page load performance?
recommends lazy loading the editor component dynamically using next/dynamic
3 of 3 safety checks passed
Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 62 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Eliminating Waterfalls | CRITICAL | async- |
| 2 | Bundle Size Optimization | CRITICAL | bundle- |
| 3 | Server-Side Performance | HIGH | server- |
| 4 | Client-Side Data Fetching | MEDIUM-HIGH | client- |
| 5 | Re-render Optimization | MEDIUM | rerender- |
| 6 | Rendering Performance | MEDIUM | rendering- |
| 7 | JavaScript Performance | LOW-MEDIUM | js- |
| 8 | Advanced Patterns | LOW | advanced- |
async-defer-await - Move await into branches where actually usedasync-parallel - Use Promise.all() for independent operationsasync-dependencies - Use better-all for partial dependenciesasync-api-routes - Start promises early, await late in API routesasync-suspense-boundaries - Use Suspense to stream contentbundle-barrel-imports - Import directly, avoid barrel filesbundle-dynamic-imports - Use next/dynamic for heavy componentsPublished skills whose descriptions closely match this one, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.