#5264·preact

出现的渲染错误会永久丢弃同一轮次中排队的其他组件

作者: dmail创建于 2026年9月24日更新于 2026年9月24日

Affected: `11.0.0-rc.2` (and `main`), `10.29.x` — the `try/finally` comes from #5017 ("Ensure we reset renderCount"), forwardported in #5053. Before it (≤ 10.28) the situation was worse (nothing rendered again because `_rerenderCount` was never reset), so this is a partial fix rather than a regression — but the components caught in the aborted pass are still lost.

内容来源: preactjs/preact