Frontmatter
| id | 8602 |
| title | Implement Neo.container.Fragment Class & VNode Support |
| state | Closed |
| labels | aicorefeature |
| assignees | tobiu |
| createdAt | Jan 13, 2026, 3:38 PM |
| updatedAt | Jan 13, 2026, 4:49 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8602 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8601 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 13, 2026, 4:49 PM |
Implement Neo.container.Fragment Class & VNode Support
tobiu added parent issue #8601 on Jan 13, 2026, 3:40 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, 4:48 PM
Input from Gemini 3 Pro:
✦ I have implemented the
Neo.container.Fragmentclass.
- Extends
Neo.container.Base.- Sets
tag: 'fragment'.- Sets
layout: nulland prevents layout creation.- Includes safeguard hooks to return
nullforcls,style, and wrapper variants, ensuring no DOM attributes are accidentally applied to the fragment itself.- Verified
src/vdom/VNode.mjssupportstag: 'fragment'via thenodeNamemapping.Ready for next steps in the Epic.
tobiu closed this issue on Jan 13, 2026, 4:49 PM
Goal: Create the
Neo.container.Fragmentclass and enabletag: 'fragment'in the VNode system.Tasks:
src/container/Fragment.mjs:Neo.container.Base.tag: 'fragment'.layout: null(Fragments cannot have layouts as they have no wrapper).src/vdom/VNode.mjs:nodeNameto be'fragment'.VNodeconstructor handles it correctly.Note:
Neo.component.Basealready supports thetag_config, so we leverage that.