LearnNewsExamplesServices
Frontmatter
id4941
titleutil.VDom: forceSyncVdomIds()
stateClosed
labels
enhancement
assigneestobiu
createdAtSep 22, 2023, 5:14 PM
updatedAtSep 22, 2023, 5:30 PM
githubUrlhttps://github.com/neomjs/neo/issues/4941
authortobiu
commentsCount1
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 22, 2023, 5:30 PM

util.VDom: forceSyncVdomIds()

Closed v8.1.0 enhancement
tobiu
tobiu commented on Sep 22, 2023, 5:14 PM

after changing the default logic of syncVdomIds(), we should add a new method which changes ids with force.

use cases are lists of nodes which get resorted or filtered and we want to use the same node ids to keep deltas smaller.

tobiu added the enhancement label on Sep 22, 2023, 5:14 PM
tobiu assigned to @tobiu on Sep 22, 2023, 5:14 PM
tobiu
tobiu Sep 22, 2023, 5:15 PM

actually, we could just add another param to syncVdomIds() instead.

tobiu referenced in commit 27b293a - "util.VDom: forceSyncVdomIds() #4941" on Sep 22, 2023, 5:30 PM
tobiu closed this issue on Sep 22, 2023, 5:30 PM
tobiu referenced in commit 1c2e6c7 - "v6.7.0 (#4942) on Sep 22, 2023, 5:55 PM