Repository navigation
Commit 4ede1f4
perf(web): let the React Compiler compile MessagesTimeline
MessagesTimeline skipped compilation on render-time ref reads, a captured
`++`, and a video asset memo keyed narrower than its body. The list
identity snapshot, incremental row projection, stable rows and stable
handoff runs now live in state adjusted during render, find-driven fold
expansion happens during render instead of in an effect, and manual
useMemo/useCallback are gone. The file joins REACT_COMPILED_FILES; the
constructed-context-value rule is off there because the compiler
memoizes those values.
Co-Authored-By: Claude Opus 5.5 <[email protected]>1 parent b3db3c0 commit 4ede1f4
4 files changed
Lines changed: 479 additions & 630 deletions
File tree
- apps/web
- src/components/chat
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
0 commit comments