Frontmatter
| id | 8604 |
| title | Fragment Rendering Support (DomApi & StringBased) |
| state | Closed |
| labels | aicorefeature |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 3:57 PM |
| updatedAt | Jan 13, 2026, 5:04 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8604 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 5:04 PM |
Fragment Rendering Support (DomApi & StringBased)
tobiu added parent issue #8601 on Jan 13, 2026, 4:01 PM
tobiu cross-referenced by #8601 on Jan 13, 2026, 4:17 PM
tobiu assigned to @tobiu on Jan 13, 2026, 4:18 PM

tobiu
Jan 13, 2026, 5:03 PM
Input from Gemini 3 Pro:
✦ I have implemented Fragment rendering support in both engines.
- DomApiRenderer (Main Thread): Renders fragments as
DocumentFragmentcontaining<!-- id-start -->+ children +<!-- id-end -->comments.- StringFromVnode (VDOM/SSR): Generates matching HTML strings
<!-- id-start -->...<!-- id-end -->.Ready for DeltaUpdates range operations.
tobiu closed this issue on Jan 13, 2026, 5:04 PM
Part of Epic #8601.
Goal: Update the rendering engines to handle
tag: 'fragment'by generating the correct DOM structure (Comment Anchors + Children).Architectural Decision: Fragments must render as "transparent" containers in the DOM. They should produce:
<!-- fragment-id-start -->)<!-- fragment-id-end -->)Tasks:
src/vdom/util/DomApiVnodeCreator.mjs&src/main/render/DomApiRenderer.mjs:tag: 'fragment'.DocumentFragmentcontaining anchor-start + children + anchor-end) so the parent renderer can append it seamlessly.src/vdom/util/StringFromVnode.mjs:<!-- fragment-id-start -->+ children HTML +<!-- fragment-id-end -->.