vercel-react-best-practices
Apply relevant Vercel React guidance to this Vite client when reviewing a changed React flow or investigating a performance concern.
来源信息
- 仓库
- bitsocialnet/seedit
- 最近来源活动
- 2026年9月12日 09:46
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 421
- Forks
- 28
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
文件资源管理器
59 个文件正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- vercel-react-best-practices
- description
- Apply relevant Vercel React guidance to this Vite client when reviewing a changed React flow or investigating a performance concern.
- license
- MIT
- metadata
- {"author":"vercel","version":"1.0.0"}
# Vercel React Guidance for This Client
Select rules for the affected behavior; do not load the entire compiled `AGENTS.md` or run every rule as a checklist. The bundled reference is an upstream React/Next.js guide, while this repository is a Vite client with Bitsocial hooks and Zustand.
Useful starting points when relevant:
- Derived state or effect synchronization: [derived state](rules/rerender-derived-state-no-effect.md), [event logic](rules/rerender-move-effect-to-event.md).
- Render/subscription cost: [defer reads](rules/rerender-defer-reads.md), [simple expressions](rules/rerender-simple-expression-in-memo.md), [transient values](rules/rerender-use-ref-transient-values.md).
- Repeated browser work: [event listeners](rules/client-event-listeners.md), [passive listeners](rules/client-passive-event-listeners.md).
- Bundle or async bottlenecks: [barrel imports](rules/bundle-barrel-imports.md), [independent async work](rules/async-parallel.md).
Read other `rules/` files only when their topic applies. Skip Next.js, Server Components, server caching, server actions, and hydration guidance for this client. Do not introduce SWR, Next.js APIs, manual memoization, or a new dependency merely because an upstream example uses it. Adapt examples to the installed React/compiler behavior, existing data layer, and product design constraints.
Establish a correctness or measured performance reason for a change, preserve error handling and accessibility, and verify the affected behavior under `docs/agent-playbooks/verification.md`. Treat reference priorities as triage guidance rather than mandatory refactor targets. Licensed upstream rule files and their attribution remain intact.
在 GitHub 查看