mirror of
https://github.com/clash-verge-rev/clash-verge-rev.git
synced 2026-11-20 10:52:08 +08:00
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:
@@ -156,7 +156,7 @@ export const selectRuleChainMembers = (
|
||||
})
|
||||
}
|
||||
|
||||
const sameSource = (
|
||||
export const sameSource = (
|
||||
left: ProxyNodeView['source'],
|
||||
right: ProxyNodeView['source'],
|
||||
) =>
|
||||
|
||||
Reference in New Issue
Block a user