React Best Practices

作者 tech-leads-club120b67676388MIT收录于 2026年10月8日更新于 2026年10月8日

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

仅公开文件列表。将技能安装到工作区后即可查看文件内容。

路径大小类型
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

来源与署名

来源:tech-leads-club/agent-skills位于packages/skills-catalog/skills/(quality)/react-best-practices提交120b676

许可证: MIT

内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。

举报或申请下架