docs: close the open reactCompiler keep-or-roll-back decision

Decision is to stay rolled back: the round's target was Home, and the
44 functions the compiler does optimize have no measured render benefit
to justify the +2.50% first-load JS. Reopening this should start by
benchmarking those 44, not by flipping the config.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Jesse_Chen
2026-08-17 15:44:36 +08:00
parent 1831befc68
commit f78ad09fcc
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -193,6 +193,10 @@ React Compiler 在所有六种配置下都拒编 `Home`,包括显式 `"use mem
而不是顺手替决策者拍板。要重新开启只需在 `frontend/next.config.ts` 加回两行,
本文件的第 1/6 次尝试记录了确切写法。
**该决策已有结论(2026-08-17,交付后确认):维持回滚。** 理由是本轮目标是 `Home`
而那 44 个组件的运行时收益没有测量数据支撑首屏 +2.50 % 的代价。
若日后要改变这个结论,前置条件应当是先给那 44 个组件测出渲染基准,而不是直接开配置。
## 收尾
`docs/BUG_HISTORY.md` 追加 `BUG-255`。按 BUG-253 的防复发要求先检索最大编号:本地基点