Frontmatter
| id | 8873 |
| title | Refactor: Standardize VNodeUtil and VDomUtil getChildIds to include components |
| state | Open |
| labels | airefactoringcore |
| assignees | [] |
| createdAt | Jan 24, 2026, 12:23 AM |
| updatedAt | Jan 24, 2026, 12:23 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8873 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
Refactor: Standardize VNodeUtil and VDomUtil getChildIds to include components
Openairefactoringcore
Description: Currently,
VNodeUtil.getChildIds(vnode)implicitly filters out component placeholders (nodes withcomponentId).VDomUtil.getChildIds(vdom)likely shares similar logic or intent. This behavior is unintuitive and forced complex workarounds inVdomLifecycle.syncVnodeTree.Goal: Make
getChildIdsconsistent across bothVNodeUtilandVDomUtil, ensuring they can return all children including components.Proposed Change:
VNodeUtil.getChildIdsANDVDomUtil.getChildIdsto accept an options object, e.g.,{includeComponents: true}.VdomLifecycle.syncVnodeTreeto use this new option.Benefits:
VdomLifecycle.