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).

Instructions onlySoftware Development

Only the file list is public. File contents are available once the skill is installed in a workspace.

PathSizeType
AGENTS.md79.8 KBtext/markdown
README.md3.3 KBtext/markdown
rules/advanced-event-handler-refs.md1.4 KBtext/markdown
rules/advanced-init-once.md958 Btext/markdown
rules/advanced-use-latest.md1 KBtext/markdown
rules/async-api-routes.md1.1 KBtext/markdown
rules/async-defer-await.md2 KBtext/markdown
rules/async-dependencies.md1.3 KBtext/markdown
rules/async-parallel.md654 Btext/markdown
rules/async-suspense-boundaries.md2.5 KBtext/markdown
rules/bundle-barrel-imports.md2.3 KBtext/markdown
rules/bundle-conditional.md949 Btext/markdown
rules/bundle-defer-third-party.md920 Btext/markdown
rules/bundle-dynamic-imports.md791 Btext/markdown
rules/bundle-preload.md1.1 KBtext/markdown
rules/client-event-listeners.md1.9 KBtext/markdown
rules/client-localstorage-schema.md1.9 KBtext/markdown
rules/client-passive-event-listeners.md1.6 KBtext/markdown
rules/client-swr-dedup.md1.1 KBtext/markdown
rules/js-batch-dom-css.md3.2 KBtext/markdown
rules/js-cache-function-results.md1.9 KBtext/markdown
rules/js-cache-property-access.md532 Btext/markdown
rules/js-cache-storage.md1.6 KBtext/markdown
rules/js-combine-iterations.md753 Btext/markdown
rules/js-early-exit.md1.1 KBtext/markdown
rules/js-hoist-regexp.md1 KBtext/markdown
rules/js-index-maps.md837 Btext/markdown
rules/js-length-check-first.md1.7 KBtext/markdown
rules/js-min-max-loop.md2.2 KBtext/markdown
rules/js-set-map-lookups.md532 Btext/markdown
rules/js-tosorted-immutable.md1.7 KBtext/markdown
rules/rendering-activity.md564 Btext/markdown
rules/rendering-animate-svg-wrapper.md1.2 KBtext/markdown
rules/rendering-conditional-render.md980 Btext/markdown
rules/rendering-content-visibility.md815 Btext/markdown
rules/rendering-hoist-jsx.md1 KBtext/markdown
rules/rendering-hydration-no-flicker.md2.3 KBtext/markdown
rules/rendering-hydration-suppress-warning.md872 Btext/markdown
rules/rendering-svg-precision.md588 Btext/markdown
rules/rendering-usetransition-loading.md2 KBtext/markdown
rules/rerender-defer-reads.md973 Btext/markdown
rules/rerender-dependencies.md824 Btext/markdown
rules/rerender-derived-state.md728 Btext/markdown
rules/rerender-derived-state-no-effect.md1.2 KBtext/markdown
rules/rerender-functional-setstate.md2.9 KBtext/markdown
rules/rerender-lazy-state-init.md2 KBtext/markdown
rules/rerender-memo.md1.1 KBtext/markdown
rules/rerender-memo-with-default-value.md1.1 KBtext/markdown
rules/rerender-move-effect-to-event.md1.2 KBtext/markdown
rules/rerender-simple-expression-in-memo.md1018 Btext/markdown
rules/rerender-transitions.md1 KBtext/markdown
rules/rerender-use-ref-transient-values.md1.7 KBtext/markdown
rules/_sections.md1.5 KBtext/markdown
rules/server-after-nonblocking.md2 KBtext/markdown
rules/server-auth-actions.md2.6 KBtext/markdown
rules/server-cache-lru.md1.3 KBtext/markdown
rules/server-cache-react.md2.2 KBtext/markdown
rules/server-dedup-props.md2 KBtext/markdown
rules/server-parallel-fetching.md1.5 KBtext/markdown
rules/server-serialization.md996 Btext/markdown
rules/_template.md631 Btext/markdown
SKILL.md6.3 KBtext/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.

Report or request removal