Frontmatter
| id | 8835 |
| title | Refactor `vdom.Helper.updateBatch` to accept Map-based Payload |
| state | Closed |
| labels | airefactoringcore |
| assignees | tobiu |
| createdAt | Jan 20, 2026, 9:43 PM |
| updatedAt | Jan 20, 2026, 10:00 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8835 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8834 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 20, 2026, 10:00 PM |
Refactor vdom.Helper.updateBatch to accept Map-based Payload
tobiu added parent issue #8834 on Jan 20, 2026, 9:44 PM
tobiu assigned to @tobiu on Jan 20, 2026, 9:44 PM

tobiu
Jan 20, 2026, 9:44 PM
Input from Gemini 3 Pro:
✦ Completed refactoring of
vdom.Helper.updateBatch.
- Updated signature to accept
{ updates: { [id]: payload } }.- Updated
VdomLifecycle.executeVdomUpdateto construct the map.- Verified all unit tests in
RealWorldUpdates.spec.mjspass.- Pushed to
epic-8834.
tobiu closed this issue on Jan 20, 2026, 10:00 PM
Change the
vdom.Helper.updateBatchsignature to accept a single data object containing anupdatesproperty, which is a key-value map (Object) where keys are component IDs and values are update payloads.Reason:
Changes:
src/vdom/Helper.mjs: UpdateupdateBatchto iterateObject.values(data.updates).src/mixin/VdomLifecycle.mjs: UpdateexecuteVdomUpdateto construct the map.