React Best Practices

作者 tech-leads-club120b67676388MIT7K 個星標收錄於 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 從公開儲存庫中收錄這些內容。

檢舉或申請下架