跳到正文
FunCoding

data-client-performance

Find and make the speedups a React app on @data-client/react may be missing - detail pages from list data, one Entity per server object, lists updated in place, reads that skip fresh data, loaders that don't wait for secondary data, prefetching, expiry, optimistic updates, Query memoization, parallel reads, transitions, stable references and React Compiler. Use for the optional performance pass after a migration, or when asked to make data loading, navigation or mutations faster.

Star
2,039
许可证
Apache-2.0
最近提交
2026年12月1日

.agents/skills/data-client-performance/SKILL.md

在 GitHub 上查看

Performance pass

Read references/performance-pass.md; its sections are the checks.

  1. Measure the flows the app's users run most, as its "Measure first" section says.
  2. Audit. For every check, search the code and list each finding with its file and line, the change, and what users will see. Report a check with no findings as clean.
  3. Built-in wins take little code: check each is in place and make any that are missing.
  4. Changes with tradeoffs: show the list, then make the ones the user wants. A request for a performance pass with no narrower scope covers all of them; the user opts out of any by name. Make one change at a time and run the tests after each; when a test asserts the old behavior the check names (a page-wide spinner, an update that waits for the server), update it and say so. Changes to dependencies or build config, such as React Compiler or a React upgrade, are always offered, never made unasked; see the "React 19 and React Compiler" section.
  5. Report as the guide's "Report" section says.

相似的 Skill

rea-analysis-optimization

MOmorluto/rea485k近 7 天新增 7,690 个 star

codebase-design

MAmattpocock/skills336k近 7 天新增 4,217 个 star

精选

diagnosing-bugs

诊断困难 bug 和性能回归,用测试或脚本构建反馈循环定位问题。

MAmattpocock/skills336k近 7 天新增 4,217 个 star

setup-ts-deep-modules

MAmattpocock/skills336k近 7 天新增 4,217 个 star

code-review

MAmattpocock/skills336k近 7 天新增 4,217 个 star

implement

MAmattpocock/skills336k近 7 天新增 4,217 个 star