Repository navigation
Commit 8e6ca79
console: Drop three freshness memos that never hit
A useMemo only pays when something downstream compares identities.
These fed components that re-render regardless.
The cluster list memo is followed by an unmemoized map of the same
array, over a few dozen clusters. The object IDs memo feeds a query key
that sorts and joins them into a string, so a new array does not
refetch. The row click memo reaches UniversalTable, which is not
memoized.
The last one is mine rather than the reviewer's, and fails the same
test.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent 003db7b commit 8e6ca79
3 files changed
Lines changed: 7 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1124 | 1124 | | |
1125 | 1125 | | |
1126 | 1126 | | |
1127 | | - | |
1128 | | - | |
1129 | | - | |
1130 | | - | |
| 1127 | + | |
1131 | 1128 | | |
1132 | 1129 | | |
1133 | 1130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
300 | | - | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
305 | 301 | | |
306 | 302 | | |
307 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
211 | 209 | | |
212 | 210 | | |
213 | 211 | | |
| |||
0 commit comments