Frontmatter
| id | 8609 |
| title | Add Fragment Helper Methods to DeltaUpdates |
| state | Closed |
| labels | enhancementaicore |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 7:36 PM |
| updatedAt | Jan 13, 2026, 7:49 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8609 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 7:49 PM |
Add Fragment Helper Methods to DeltaUpdates
tobiu assigned to @tobiu on Jan 13, 2026, 7:39 PM
tobiu cross-referenced by #8611 on Jan 13, 2026, 7:41 PM

tobiu
Jan 13, 2026, 7:49 PM
Input from Gemini 3 Pro:
✦ Added
getFragmentStart,getFragmentSiblingandgetFragmentNodeshelper methods. Verified viaFragmentDomMove.spec.mjs. Usage inmoveNodepending next ticket.
tobiu closed this issue on Jan 13, 2026, 7:49 PM
tobiu added parent issue #8601 on Jan 13, 2026, 7:49 PM
Add helper methods to
Neo.main.DeltaUpdatesto support Fragment start/end anchor resolution.Methods to Add:
getFragmentStart(id): Retrieves the start comment anchor for a Fragment ID.getFragmentSibling(startNode, index): Traverses siblings from the start anchor to find the reference node at a given logical index.getFragmentNodes(parentNode, id): Retrieves all nodes between a Fragment's start and end anchors (inclusive).Why: Required for
Neo.container.Fragmentsupport in the main thread renderer (DomApiRendererandStringBasedRendererintegration inDeltaUpdates). These helpers allowDeltaUpdatesto resolve "logical" parent IDs (Fragment IDs) to physical DOM locations.Note: This is a non-breaking addition. No existing logic will be modified in this step.