
React Best Practices
by tech-leads-club120b67676388MITListed Oct 8, 2026Updated Oct 8, 2026
React and Next.js performance optimization guidelines from Vercel Engineering. Use 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. Do NOT use for component API architecture or composition patterns (use react-composition-patterns instead).
Only the file list is public. File contents are available once the skill is installed in a workspace.
| Path | Size | Type |
|---|---|---|
| AGENTS.md | 79.8 KB | text/markdown |
| README.md | 3.3 KB | text/markdown |
| rules/advanced-event-handler-refs.md | 1.4 KB | text/markdown |
| rules/advanced-init-once.md | 958 B | text/markdown |
| rules/advanced-use-latest.md | 1 KB | text/markdown |
| rules/async-api-routes.md | 1.1 KB | text/markdown |
| rules/async-defer-await.md | 2 KB | text/markdown |
| rules/async-dependencies.md | 1.3 KB | text/markdown |
| rules/async-parallel.md | 654 B | text/markdown |
| rules/async-suspense-boundaries.md | 2.5 KB | text/markdown |
| rules/bundle-barrel-imports.md | 2.3 KB | text/markdown |
| rules/bundle-conditional.md | 949 B | text/markdown |
| rules/bundle-defer-third-party.md | 920 B | text/markdown |
| rules/bundle-dynamic-imports.md | 791 B | text/markdown |
| rules/bundle-preload.md | 1.1 KB | text/markdown |
| rules/client-event-listeners.md | 1.9 KB | text/markdown |
| rules/client-localstorage-schema.md | 1.9 KB | text/markdown |
| rules/client-passive-event-listeners.md | 1.6 KB | text/markdown |
| rules/client-swr-dedup.md | 1.1 KB | text/markdown |
| rules/js-batch-dom-css.md | 3.2 KB | text/markdown |
| rules/js-cache-function-results.md | 1.9 KB | text/markdown |
| rules/js-cache-property-access.md | 532 B | text/markdown |
| rules/js-cache-storage.md | 1.6 KB | text/markdown |
| rules/js-combine-iterations.md | 753 B | text/markdown |
| rules/js-early-exit.md | 1.1 KB | text/markdown |
| rules/js-hoist-regexp.md | 1 KB | text/markdown |
| rules/js-index-maps.md | 837 B | text/markdown |
| rules/js-length-check-first.md | 1.7 KB | text/markdown |
| rules/js-min-max-loop.md | 2.2 KB | text/markdown |
| rules/js-set-map-lookups.md | 532 B | text/markdown |
| rules/js-tosorted-immutable.md | 1.7 KB | text/markdown |
| rules/rendering-activity.md | 564 B | text/markdown |
| rules/rendering-animate-svg-wrapper.md | 1.2 KB | text/markdown |
| rules/rendering-conditional-render.md | 980 B | text/markdown |
| rules/rendering-content-visibility.md | 815 B | text/markdown |
| rules/rendering-hoist-jsx.md | 1 KB | text/markdown |
| rules/rendering-hydration-no-flicker.md | 2.3 KB | text/markdown |
| rules/rendering-hydration-suppress-warning.md | 872 B | text/markdown |
| rules/rendering-svg-precision.md | 588 B | text/markdown |
| rules/rendering-usetransition-loading.md | 2 KB | text/markdown |
| rules/rerender-defer-reads.md | 973 B | text/markdown |
| rules/rerender-dependencies.md | 824 B | text/markdown |
| rules/rerender-derived-state.md | 728 B | text/markdown |
| rules/rerender-derived-state-no-effect.md | 1.2 KB | text/markdown |
| rules/rerender-functional-setstate.md | 2.9 KB | text/markdown |
| rules/rerender-lazy-state-init.md | 2 KB | text/markdown |
| rules/rerender-memo.md | 1.1 KB | text/markdown |
| rules/rerender-memo-with-default-value.md | 1.1 KB | text/markdown |
| rules/rerender-move-effect-to-event.md | 1.2 KB | text/markdown |
| rules/rerender-simple-expression-in-memo.md | 1018 B | text/markdown |
| rules/rerender-transitions.md | 1 KB | text/markdown |
| rules/rerender-use-ref-transient-values.md | 1.7 KB | text/markdown |
| rules/_sections.md | 1.5 KB | text/markdown |
| rules/server-after-nonblocking.md | 2 KB | text/markdown |
| rules/server-auth-actions.md | 2.6 KB | text/markdown |
| rules/server-cache-lru.md | 1.3 KB | text/markdown |
| rules/server-cache-react.md | 2.2 KB | text/markdown |
| rules/server-dedup-props.md | 2 KB | text/markdown |
| rules/server-parallel-fetching.md | 1.5 KB | text/markdown |
| rules/server-serialization.md | 996 B | text/markdown |
| rules/_template.md | 631 B | text/markdown |
| SKILL.md | 6.3 KB | text/markdown |
Source and attribution
Source:tech-leads-club/agent-skillsinpackages/skills-catalog/skills/(quality)/react-best-practicesat commit120b676
License: MIT
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from tech-leads-club/agent-skills

Nx Workspace
tech-leads-club
Guides configuring, exploring and optimizing Nx monorepo workspaces, including affected analysis and CI/CD setup.

Nx Run Tasks
tech-leads-club
Runs build, test, lint, serve and other tasks in an Nx workspace using run, run-many and affected commands.

Nx Generate
tech-leads-club
Guides an agent through discovering, validating, running and verifying Nx generators to scaffold code in a monorepo.

Nx Ci Monitor
tech-leads-club
Monitors Nx Cloud CI pipeline status and orchestrates self-healing fixes until CI passes or a limit is reached.

Excalidraw Studio
tech-leads-club
Generates Excalidraw .excalidraw JSON diagram files from natural-language descriptions.

Chrome Devtools
tech-leads-club
Controls a live Chrome browser through the chrome-devtools MCP server for debugging, inspection, automation and performance profiling.
More in Software Development

Playground
anthropics
Builds self-contained interactive HTML playgrounds with controls, live preview, and copyable prompt output.

M5 Onboard
anthropics
Provisions M5Stack ESP32 boards by detecting them on USB, flashing UIFlow 2.0 firmware, and installing a MicroPython app bundle.

Cardputer Buddy
anthropics
Guides iterating on a Cardputer-Adv MicroPython app bundle: adding apps, pushing files over USB-serial, tailing logs, and running REPL commands.

Testing Strategy
anthropics
Designs test strategies and test plans, covering test types, coverage targets, and example test cases.

Tech Debt
anthropics
Identifies, categorizes, and prioritizes technical debt, producing a scored backlog and phased remediation plan.

System Design
anthropics
Guides system and architecture design through requirements, high-level design, deep dives, scaling, and trade-off analysis.