perf(proxy): stable group location and chain list identities

The sticky-header scroll callback depended on the render list identity,
re-creating the item renderer on every list rebuild; it now reads the
list through a stable ref callback. Rebinding no longer allocates new
chain items and arrays when values are unchanged, so the 15s proxy-view
refresh stops re-serializing identical chains to localStorage, and the
chain delay key join is memoized.
This commit is contained in:
Tunglies
2026-11-19 21:45:54 +08:00
parent d535c1b7d1
commit 36f79c6033
5 changed files with 81 additions and 44 deletions
+1 -1
View File
@@ -156,7 +156,7 @@ export const selectRuleChainMembers = (
})
}
const sameSource = (
export const sameSource = (
left: ProxyNodeView['source'],
right: ProxyNodeView['source'],
) =>