
React Best Practices
作者 vercel882e66c26986无许可证300 个星标收录于 2026年10月8日更新于 2026年10月8日仓库今天更新
React best-practices reviewer for TSX files. Triggers after editing multiple TSX components to run a condensed quality checklist covering component structure, hooks usage, accessibility, performance, and TypeScript patterns.
仅公开文件列表。将技能安装到工作区后即可查看文件内容。
| 路径 | 大小 | 类型 |
|---|---|---|
| AGENTS.md | 92.3 KB | text/markdown |
| overlay.yaml | 1.7 KB | application/yaml |
| 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-flatmap-filter.md | 1.4 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-resource-hints.md | 2.5 KB | text/markdown |
| rules/rendering-script-defer-async.md | 1.8 KB | 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-no-inline-components.md | 2.1 KB | text/markdown |
| rules/rerender-simple-expression-in-memo.md | 1018 B | text/markdown |
| rules/rerender-split-combined-hooks.md | 1.8 KB | text/markdown |
| rules/rerender-transitions.md | 1 KB | text/markdown |
| rules/rerender-use-deferred-value.md | 1.8 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-hoist-static-io.md | 4.3 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 | 7.9 KB | text/markdown |
来源与署名
来源:vercel/vercel-plugin位于skills/react-best-practices提交882e66c
许可证: 无许可证
内容归原作者所有。SourceWeft 从公开仓库中收录这些内容。
更多来自 vercel/vercel-plugin 的技能

Vercel React Best Practices
vercel
Vercel 的 React 与 Next.js 性能指南,包含 64 条按优先级排列的规则,用于编写、审查和重构代码。

Vercel Agent
vercel
关于 Vercel Agent 的指导,涵盖聊天、代码审查、问题排查与产品安装。

Shadcn
vercel
指导 shadcn/ui 的 CLI 使用、组件安装、主题配置、自定义注册表与界面组合。

Queues
vercel
关于使用 Vercel Queues 持久主题发布和消费后台消息的指导。

Next Upgrade
vercel
指导按照官方迁移指南和 codemod 将 Next.js 项目升级到最新版本。

Next Cache Components
vercel
讲解 Next.js 16 缓存组件:PPR、use cache 指令、cacheLife、cacheTag,以及从 unstable_cache 迁移。
更多Software Development技能

Playground
anthropics
构建自包含的交互式 HTML 演练场,包含控件、实时预览和可复制的提示词输出。

M5 Onboard
anthropics
通过 USB 检测 M5Stack ESP32 开发板,刷写 UIFlow 2.0 固件并安装 MicroPython 应用包。

Cardputer Buddy
anthropics
指导迭代 Cardputer-Adv 的 MicroPython 应用包:添加应用、通过 USB 串口推送文件、查看日志并运行 REPL 命令。

Web Design Guidelines
vercel-labs
依据从远程来源获取的 Web Interface Guidelines 审查 UI 代码,并以 file:line 形式报告问题。

Vercel React Native Skills
vercel-labs
React Native 与 Expo 最佳实践规则,涵盖列表性能、动画、导航、UI 模式、状态与 monorepo 配置。

Vercel React Best Practices
vercel-labs
Vercel 的 React 与 Next.js 性能指南,以 70 条规则的形式用于编写、审查和重构代码。