Frontmatter
| id | 8129 |
| title | Manager.mjs: Transform autoMount to delta update |
| state | Closed |
| labels | airefactoringarchitecture |
| assignees | tobiu |
| createdAt | Dec 16, 2025, 8:22 PM |
| updatedAt | Dec 16, 2025, 8:28 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8129 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 16, 2025, 8:28 PM |
To remove the "magic placeholder" hack for
autoMountand unify the DOM update pipeline,WorkerManagerwill now interceptautoMountmessages, construct a properinsertNodedelta from the payload, and route it through theupdateVdomevent.Changes in
src/worker/Manager.mjs:data.data.autoMount.deltasarray containing a singleinsertNodedelta usingparentIndex,parentId,vnode, andouterHTMLfrom the message.deltasarray to the payload.updateVdominstead ofautomount.This effectively moves
autoMountoperations to theupdateQueueinMain, paving the way for removing the legacywriteQueue.